@Override public void onReqComplete(HttpResult result) { if (result.isOk()) { LoadingDialog.closeLoadingDialog(1000); adjacent = (Adjacent) result.getBaseData(); infoMgr.addPageData(adjacent.getPageInfo()); exListView.setPullLoadEnable(infoMgr.isHaveNextPage()); initListView(); } else { MMToast.showShort("请求失败"); LoadingDialog.closeLoadingDialog(1000); } }
@Override public void onFilterDialogItemClick(AdapterView<?> parent, View view, int position, long id) { ModuleMgr.getCfgMgr().setFloat("filterGender", position); // 存储该筛选配置 infoMgr.reset(); gender = position; ModuleMgr.getDiscoverMgr().reqSecAdjacent(gender, null, 1, this); LoadingDialog.show(this, "加载中"); }