Compare commits
4 Commits
powerbell-
...
powerbell-
| Author | SHA1 | Date | |
|---|---|---|---|
| 61b7afa4b5 | |||
| 8e4c7a6832 | |||
| d29068b029 | |||
| 51963f8e0f |
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Mon Dec 22 10:04:49 HKT 2025
|
||||
stageCount=19
|
||||
#Mon Dec 22 10:25:46 HKT 2025
|
||||
stageCount=21
|
||||
libraryProject=
|
||||
baseVersion=15.14
|
||||
publishVersion=15.14.18
|
||||
publishVersion=15.14.20
|
||||
buildCount=0
|
||||
baseBetaVersion=15.14.19
|
||||
baseBetaVersion=15.14.21
|
||||
|
||||
@@ -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);
|
||||
//
|
||||
// // 初始化通知工具(若未初始化)
|
||||
|
||||
@@ -149,7 +149,7 @@ public class BackgroundView extends RelativeLayout {
|
||||
return;
|
||||
}
|
||||
|
||||
//mIvBackground.setVisibility(View.GONE);
|
||||
mIvBackground.setVisibility(View.GONE);
|
||||
|
||||
// ======================== 新增:路径判断逻辑 ========================
|
||||
// 1. 路径未变化:直接使用缓存
|
||||
@@ -269,7 +269,7 @@ public class BackgroundView extends RelativeLayout {
|
||||
params.height = ivHeight;
|
||||
mIvBackground.setLayoutParams(params);
|
||||
mIvBackground.setScaleType(ScaleType.FIT_CENTER);
|
||||
//mIvBackground.setVisibility(View.VISIBLE);
|
||||
mIvBackground.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user