| | |
| | | hideLoading(); |
| | | } |
| | | if (list != null && !list.isEmpty()) { |
| | | if (!comparableList(houseListBeanIDList, list)) { |
| | | //更新缓存 |
| | | HdlResidenceLogic.getInstance().setHouseIdList(list, true); |
| | | if (houseListAdapter != null) { |
| | | //重新获取列表数据 |
| | | initData(); |
| | | refreshDetails(""); |
| | | //更新电站选中状态 |
| | | setSelectState(); |
| | | //更新列表数据 |
| | | houseListAdapter.setList(houseListBeanIDList); |
| | | } |
| | | |
| | | |
| | | // if (!comparableList(houseListBeanIDList, list)) { |
| | | //更新缓存 |
| | | HdlResidenceLogic.getInstance().setHouseIdList(list, true); |
| | | if (houseListAdapter != null) { |
| | | //重新获取列表数据 |
| | | initData(); |
| | | refreshDetails(""); |
| | | //更新电站选中状态 |
| | | setSelectState(); |
| | | //更新列表数据 |
| | | houseListAdapter.setList(houseListBeanIDList); |
| | | } |
| | | // } |
| | | } |
| | | nullDataUpdateUi(list); |
| | | } |