Esempio n. 1
0
  public void init() {
    geneItems();
    mListView = (XListView) findViewById(R.id.xListView);
    mListView.setPullLoadEnable(true);

    mAdapter = new Message_adapter(this);
    mListView.setAdapter(mAdapter);
    mListView.setPullLoadEnable(true);
    mListView.setPullRefreshEnable(true);
    mListView.setXListViewListener(this);
    mHandler = new Handler();
  }
Esempio n. 2
0
 private void onLoad() {
   mListView.stopRefresh();
   mListView.setRefreshTime("刚刚");
 }