From 8d0cf94d463e089baa718574f91636782e0709b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Tue, 15 Oct 2024 15:51:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B0=86=E7=BD=91=E7=BB=9C?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=BD=AC=E4=B8=BADrawable=E6=97=B6=E5=80=99?= =?UTF-8?q?=E7=9A=84=E5=85=88=E5=8A=A0=E8=BD=BD=E7=BC=A9=E7=95=A5=E5=9B=BE?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BA=E7=BC=A9=E7=95=A5=E5=9B=BE=E5=92=8C?= =?UTF-8?q?=E4=B8=BB=E5=9B=BE=E5=8A=A0=E8=BD=BD=E5=AE=8C=E9=83=BD=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=EF=BC=8C=E4=BC=9A=E5=AF=BC=E8=87=B4=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E7=9A=84=E4=BB=A3=E7=A0=81=E5=92=8C=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E8=BD=ACDrawable=E7=9A=84=E4=BB=A3=E7=A0=81=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E5=A4=9A=E6=AC=A1=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/com/yunbao/common/glide/ImgLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/glide/ImgLoader.java b/common/src/main/java/com/yunbao/common/glide/ImgLoader.java index bfd4b2b68..8d034acfa 100644 --- a/common/src/main/java/com/yunbao/common/glide/ImgLoader.java +++ b/common/src/main/java/com/yunbao/common/glide/ImgLoader.java @@ -5,6 +5,7 @@ import android.content.Context; import android.graphics.drawable.Drawable; import android.net.Uri; import android.text.TextUtils; +import android.util.Log; import android.widget.ImageView; import androidx.annotation.NonNull; @@ -240,13 +241,12 @@ public class ImgLoader { if (width != -1 && height != -1) { builder = builder.override(width, height); } - builder.thumbnail(thumbnail).skipMemoryCache(SKIP_MEMORY_CACHE).into(new CustomTarget() { + builder.skipMemoryCache(SKIP_MEMORY_CACHE).into(new CustomTarget() { @Override public void onResourceReady(@NonNull Drawable resource, @Nullable Transition transition) { if (callback != null) { callback.onLoadSuccess(resource); - } }