Example #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();
  }
Example #2
0
 private void onLoad() {
   mListView.stopRefresh();
   mListView.setRefreshTime("刚刚");
 }