From c166d0a4769b32f8e79d452eed79b77a6d9f1566 Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Wed, 23 Oct 2024 10:10:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8Epd=E6=8B=B7=E8=B4=9D=20=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=B0=86=E7=BD=91=E7=BB=9C=E5=9B=BE=E7=89=87=E8=BD=AC?= =?UTF-8?q?=E4=B8=BADrawable=E6=97=B6=E5=80=99=E7=9A=84=E5=85=88=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E7=BC=A9=E7=95=A5=E5=9B=BE=EF=BC=8C=E5=9B=A0=E4=B8=BA?= =?UTF-8?q?=E7=BC=A9=E7=95=A5=E5=9B=BE=E5=92=8C=E4=B8=BB=E5=9B=BE=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=AE=8C=E9=83=BD=E5=9B=9E=E8=B0=83=EF=BC=8C=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E8=AE=A1=E7=AE=97=E6=8D=A2=E8=A1=8C=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=92=8C=E4=B9=8B=E5=90=8E=E8=BD=ACDrawable?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E9=87=8D=E5=A4=8D=E5=A4=9A=E6=AC=A1?= =?UTF-8?q?=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 6fe9714dd..8b10a9708 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; @@ -280,13 +281,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); - } }