| | |
| | | x.http().post(params, new BaseCommonCallBack() {
|
| | | public void success() {
|
| | | List<CheckInQueryItem> list = getList(CheckInQueryItem.class);
|
| | |
|
| | | List prevList = null;
|
| | | if (append) {
|
| | | if (isVisitorList) {
|
| | | prevList = CheckInFragment.getInstance().get_fragment_check_in_left_visitor().getPrevList();
|
| | | } else {
|
| | | prevList = CheckInFragment.getInstance().get_fragment_check_in_left_interviewee().getPrevList();
|
| | | }
|
| | | for (int i = 0; i < prevList.size(); i++) {
|
| | | Object item = prevList.get(i);
|
| | | if (item instanceof CheckInQueryItem) {
|
| | | list.add(0, (CheckInQueryItem) item);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | sort(list, isSortByDept);
|
| | | List allItems = new ArrayList();
|
| | | String name = "";
|