flavor images: enable caches

This commit is contained in:
Andrew Dolgov 2017-06-04 10:36:53 +03:00
parent 3b4da398c2
commit b7b78767a2

View File

@ -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<String, GlideDrawable>() {
@Override
public boolean onException(Exception e, String model, Target<GlideDrawable> target, boolean isFirstResource) {