|
|
@@ -125,6 +125,9 @@ public class SelectNetAcitivty extends OABaseActivity {
|
|
|
if (bundle != null) {
|
|
|
if (bundle.getInt(CodeUtils.RESULT_TYPE) == CodeUtils.RESULT_SUCCESS) {
|
|
|
String result = bundle.getString(CodeUtils.RESULT_STRING);
|
|
|
+ LogUtil.i("result="+result);
|
|
|
+ lastKey=result;
|
|
|
+ showLoading();
|
|
|
loadSearch(page = 1, result);
|
|
|
}
|
|
|
}
|
|
|
@@ -302,19 +305,17 @@ public class SelectNetAcitivty extends OABaseActivity {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- if (ListUtils.isEmpty(models)) {
|
|
|
- mEmptyLayout.showEmpty();
|
|
|
- }
|
|
|
+
|
|
|
} else {
|
|
|
if (page == 1) {
|
|
|
mAdapter.setModels(models);
|
|
|
- if (ListUtils.isEmpty(models)) {
|
|
|
- mEmptyLayout.showEmpty();
|
|
|
- }
|
|
|
} else {
|
|
|
mAdapter.addModls(models);
|
|
|
}
|
|
|
}
|
|
|
+ if (ListUtils.isEmpty(models)) {
|
|
|
+ mEmptyLayout.showEmpty();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private String getShowName(Map<String, String> object) throws Exception {
|