From 1a0aaa0bd03b3a491c751b5ce1bfca16302767b1 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期三, 19 六月 2024 19:30:12 +0800 Subject: [PATCH] 2024年06月19日19:30:03 --- app/src/main/java/com/hdl/photovoltaic/ui/powerstation/HouseAndDeviceFragment.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/powerstation/HouseAndDeviceFragment.java b/app/src/main/java/com/hdl/photovoltaic/ui/powerstation/HouseAndDeviceFragment.java index 4d410ff..00244ba 100644 --- a/app/src/main/java/com/hdl/photovoltaic/ui/powerstation/HouseAndDeviceFragment.java +++ b/app/src/main/java/com/hdl/photovoltaic/ui/powerstation/HouseAndDeviceFragment.java @@ -629,9 +629,8 @@ // } // } - } - } else if (HDLUniMP.UNI_EVENT_REPLY_HOME_CLOSE_HOME_DETAILS_PAGE.equals(eventBus.getType())) { + } else if (HDLUniMP.UNI_EVENT_REPLY_HOME_CLOSE_HOME_DETAILS_PAGE.equals(eventBus.getTopic())) { // 鍙栨秷绮樻�т簨浠� EventBus.getDefault().removeStickyEvent(eventBus); //鏄湪鐢电珯鍒楄〃椤垫墠杩涙潵杩欓噷 @@ -751,7 +750,7 @@ } isHouseLoadingMore = true;//鏍囪璇诲彇鐘舵�� if (isRefreshing) { - showLoading(); + showLoading(getString(R.string.device_loading)); } //鑾峰彇浣忓畢(鐢电珯)ID鍒楄〃 @@ -820,7 +819,7 @@ } isDeviceLoadingMore = true;//鏍囪璇诲彇鐘舵�� if (isRefreshing) { - showLoading(); + showLoading(getString(R.string.device_loading)); } //鑾峰彇浣忓畢(鐢电珯)ID鍒楄〃 HdlDeviceLogic.getInstance().getPowerStationDeviceList("", pageNo, pageSize, new CloudCallBeak<PageNumberObject<CloudInverterDeviceBean>>() { @@ -955,6 +954,7 @@ HdlResidenceLogic.getInstance().delHouseId(homeId);//鍒犻櫎鐢电珯缂撳瓨 initData();//鍒濆鍖栫紦瀛樻暟鎹� houseInfoAdapter.setList(houseListBeanIDList, powerStationStatusValue);//閲嶆柊鍒锋柊鍒楄〃 + getStatusOverview();//鍒犻櫎鎴愬姛鍚庡埛鏂扮數绔欑姸鎬佹瑙� nullDataUpdateUi();//妫�娴嬫暟鎹槸鍚︿负绌� } -- Gitblit v1.8.0