| | |
| | | }
|
| | | RequestParams params = new RequestParams(AppApi.BASE_URL +AppApi.Query.PHONE_CALL_QUERY);
|
| | | params.addBodyParameter(PhoneCallQueryCondition.FieldNames.username, searchText);
|
| | | params.addBodyParameter(CommonVariables.Page.PAGE_SIZE, "5");
|
| | | params.addBodyParameter(CommonVariables.Page.PAGE_NUM, pageNum+"");
|
| | | x.http().post(params, new BaseCommonCallBack() {
|
| | | public void success() {
|
| | |
|
| | | List<PhoneCallQueryItem> list = getList(PhoneCallQueryItem.class);
|
| | |
|
| | | if (append) {
|
| | | List prevList = PhoneCallFragment.getInstance().get_fragment_phone_call_left_list_view().getPrevList();
|
| | | if (prevList != null && prevList.size() > 0) {
|
| | | for (int i = 0; i < prevList.size(); i++) {
|
| | | Object item = prevList.get(i);
|
| | | if (item instanceof PhoneCallQueryItem) {
|
| | | list.add((PhoneCallQueryItem)item);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | sort(list, isSortByDept);
|
| | | List allItems = new ArrayList();
|
| | | String name = "";
|