From b7b78767a205d5e28a44ffc3917ee0ca61196fcf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 4 Jun 2017 10:36:53 +0300 Subject: [PATCH] flavor images: enable caches --- .../src/main/java/org/fox/ttrss/HeadlinesFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java index 758e97e6..a3e58bb9 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java @@ -1189,8 +1189,8 @@ public class HeadlinesFragment extends Fragment { .load(article.flavorImageUri) .dontAnimate() .dontTransform() - .diskCacheStrategy(DiskCacheStrategy.NONE) - .skipMemoryCache(true) + .diskCacheStrategy(DiskCacheStrategy.ALL) + .skipMemoryCache(false) .listener(new RequestListener() { @Override public boolean onException(Exception e, String model, Target target, boolean isFirstResource) {