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