Exemplo n.º 1
0
  private void initListView() {
    new Handler()
        .postDelayed(
            new Runnable() {
              @Override
              public void run() {
                exListView.stopRefresh();
                exListView.stopLoadMore();
              }
            },
            1000); // 刷新延时1s

    adapter.setList(infoMgr.getDatas());

    if (adjacent.getPageInfo().getDatas() == null
        || adjacent.getPageInfo().getDatas().size() == 0) {
      statusListView.showNodata("附近10公里内还没有用户");
    } else {
      statusListView.showExListView();
    }
  }
Exemplo n.º 2
0
 @Override
 public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
   UIShow.showOtherInfoActivity(this, infoMgr.getDatas().get(i - 1).getuId());
 }