From fc0b011d48c3f58f8d1015e66b5333ac6f69aeb3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 9 Oct 2016 16:31:23 +0200 Subject: [PATCH] lets cache the directory thumbnails --- .../simplemobiletools/gallery/adapters/DirectoryAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/simplemobiletools/gallery/adapters/DirectoryAdapter.java b/app/src/main/java/com/simplemobiletools/gallery/adapters/DirectoryAdapter.java index 7222ad032..e44b3689a 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/adapters/DirectoryAdapter.java +++ b/app/src/main/java/com/simplemobiletools/gallery/adapters/DirectoryAdapter.java @@ -50,7 +50,7 @@ public class DirectoryAdapter extends BaseAdapter { Glide.with(mContext).load(tmb).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).signature(timestampSignature) .placeholder(R.color.tmb_background).centerCrop().crossFade().into(viewHolder.dirThumbnail); } else { - Glide.with(mContext).load(tmb).diskCacheStrategy(DiskCacheStrategy.NONE).signature(timestampSignature) + Glide.with(mContext).load(tmb).diskCacheStrategy(DiskCacheStrategy.RESULT).signature(timestampSignature) .placeholder(R.color.tmb_background).centerCrop().crossFade().into(viewHolder.dirThumbnail); }