RemoteImageLoader 在图标尚未加载时应当将图像更新为占位符 (#5239)

This commit is contained in:
Glavo
2026-01-15 20:41:18 +08:00
committed by GitHub
parent 886a1f1207
commit 85ce3d9a7a

View File

@@ -66,6 +66,8 @@ public abstract class RemoteImageLoader {
cache.remove(uri);
}
writableValue.setValue(getPlaceholder());
{
List<WeakReference<WritableValue<Image>>> list = pendingRequests.get(uri);
if (list != null) {