1.补充上次提交Launcher实现方法abstract setFragmentsDisableRefreshDataFlag

2.sharepreference config.xml存储是否刷新数据标识
3.推荐页禁止数据刷新代码补充
4.二级菜单按Home键和返回键更新刷新数据变量,home键重置FragmentManager
This commit is contained in:
2026-03-20 16:16:18 +08:00
parent 2f7539febb
commit ad72e265c1
9 changed files with 145 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ public class SharedPreferencesUtil {
public static final String CONFIG_LOCAL_BOOKMARK_APP="config_local_bookmark_app";//本地配置 收藏夹
public static final String CONFIG_NET_DEFEND_BOOKMARK_APP="config_net_defend_bookmark_app";//网络隔离 收藏夹
public static final String CONFIG_RESET_DISABLE_FRESHDATA_FLAG="config_reset_disable_freshdata_flag";//重置设备禁止刷新数据为true可刷新
public static String getSharePrefrencesString(Context context,String key){
SharedPreferences sharedPreferences=context.getSharedPreferences(SHARE_NAME,0);