添加位图缓存

This commit is contained in:
2025-12-22 10:24:29 +08:00
parent d29068b029
commit 8e4c7a6832
2 changed files with 4 additions and 2 deletions

View File

@@ -149,6 +149,8 @@ public class App extends GlobalApplication {
super.onTrimMemory(level);
LogUtils.d(TAG, "onTrimMemory() 调用内存等级level" + level);
sMemoryCachedBackgroundView.clearAllCache();
sBitmapCacheUtils.clearAllCache();
sBitmapCacheUtils = BitmapCacheUtils.getInstance();
sMemoryCachedBackgroundView.getLastInstance(this);
//
// // 初始化通知工具(若未初始化)