flavor images: enable caches
This commit is contained in:
parent
3b4da398c2
commit
b7b78767a2
@ -1189,8 +1189,8 @@ public class HeadlinesFragment extends Fragment {
|
|||||||
.load(article.flavorImageUri)
|
.load(article.flavorImageUri)
|
||||||
.dontAnimate()
|
.dontAnimate()
|
||||||
.dontTransform()
|
.dontTransform()
|
||||||
.diskCacheStrategy(DiskCacheStrategy.NONE)
|
.diskCacheStrategy(DiskCacheStrategy.ALL)
|
||||||
.skipMemoryCache(true)
|
.skipMemoryCache(false)
|
||||||
.listener(new RequestListener<String, GlideDrawable>() {
|
.listener(new RequestListener<String, GlideDrawable>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onException(Exception e, String model, Target<GlideDrawable> target, boolean isFirstResource) {
|
public boolean onException(Exception e, String model, Target<GlideDrawable> target, boolean isFirstResource) {
|
||||||
|
Loading…
Reference in New Issue
Block a user