From e69cc227309f3eb2025fa4ef043b075467d97de1 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期三, 04 十二月 2024 13:53:47 +0800
Subject: [PATCH] 更改闪屏问题
---
app/src/main/java/com/hdl/photovoltaic/other/HdlCommonLogic.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlCommonLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlCommonLogic.java
index 72ebfb8..89cc4b0 100644
--- a/app/src/main/java/com/hdl/photovoltaic/other/HdlCommonLogic.java
+++ b/app/src/main/java/com/hdl/photovoltaic/other/HdlCommonLogic.java
@@ -43,6 +43,9 @@
private static volatile HdlCommonLogic sHdlCommonLogic;
+ /**
+ * 妯″潡绫诲瀷锛堥椤碉紝鐢电珯锛屾秷鎭紝鎴戠殑锛�
+ */
public static LowerTagType lowerTagType = LowerTagType.home;
@@ -280,7 +283,7 @@
BaseEventBus baseEventBus = new BaseEventBus();
baseEventBus.setTopic(topic);
baseEventBus.setType(type);
- EventBus.getDefault().postSticky(baseEventBus);
+ EventBus.getDefault().post(baseEventBus);
}
/**
@@ -294,7 +297,7 @@
baseEventBus.setTopic(topic);
baseEventBus.setType(type);
baseEventBus.setData(o);
- EventBus.getDefault().postSticky(baseEventBus);
+ EventBus.getDefault().post(baseEventBus);
}
}
--
Gitblit v1.8.0