@Override
 public void onScrollStateChanged(AbsListView view, int scrollState) {
   // 下拉到空闲是,且最后一个item的数等于数据的总数时,进行更新
   if (lastItem == listview.getCount() - 1 && scrollState == this.SCROLL_STATE_IDLE) {
     if (list_flag) {
     } else {
       mHandler.sendEmptyMessage(0);
     }
   }
 }