添加位图缓存
This commit is contained in:
@@ -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);
|
||||
//
|
||||
// // 初始化通知工具(若未初始化)
|
||||
|
||||
Reference in New Issue
Block a user