| | |
| | |
|
| | | public void findCheckInLeftListAfterReturn(ResultBean resultBean, final boolean isVisitorList, final boolean isSortByDept, final boolean append) {
|
| | | List<CheckInQueryItem> list = resultBean.getList(CheckInQueryItem.class);
|
| | | if (list == null) {
|
| | | list = new ArrayList<>();
|
| | | }
|
| | |
|
| | | List prevList = null;
|
| | | if (append) {
|
| | |
| | | if (!BaseApplication.deviceAvailable) {
|
| | | return;
|
| | | }
|
| | | if (list == null) {
|
| | | list = new ArrayList<>();
|
| | | }
|
| | | Collections.sort(list, new Comparator<CheckInQueryItem>() {
|
| | | @Override
|
| | | public int compare(CheckInQueryItem item1, CheckInQueryItem item2) {
|