remove Glide caching
This commit is contained in:
parent
0005fb7e0c
commit
bd2a39dbb8
2 changed files with 4 additions and 2 deletions
|
@ -48,7 +48,8 @@ public class DirectoryAdapter extends BaseAdapter {
|
||||||
Glide.with(mContext).load(tmb).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).placeholder(R.color.tmb_background)
|
Glide.with(mContext).load(tmb).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).placeholder(R.color.tmb_background)
|
||||||
.centerCrop().crossFade().into(viewHolder.dirThumbnail);
|
.centerCrop().crossFade().into(viewHolder.dirThumbnail);
|
||||||
} else {
|
} else {
|
||||||
Glide.with(mContext).load(tmb).placeholder(R.color.tmb_background).centerCrop().crossFade().into(viewHolder.dirThumbnail);
|
Glide.with(mContext).load(tmb).diskCacheStrategy(DiskCacheStrategy.NONE).placeholder(R.color.tmb_background)
|
||||||
|
.centerCrop().crossFade().into(viewHolder.dirThumbnail);
|
||||||
}
|
}
|
||||||
|
|
||||||
return convertView;
|
return convertView;
|
||||||
|
|
|
@ -50,7 +50,8 @@ public class MediaAdapter extends BaseAdapter {
|
||||||
if (medium.isGif()) {
|
if (medium.isGif()) {
|
||||||
Glide.with(mContext).load(path).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).into(viewHolder.photoThumbnail);
|
Glide.with(mContext).load(path).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).into(viewHolder.photoThumbnail);
|
||||||
} else {
|
} else {
|
||||||
Glide.with(mContext).load(path).placeholder(R.color.tmb_background).centerCrop().crossFade().into(viewHolder.photoThumbnail);
|
Glide.with(mContext).load(path).diskCacheStrategy(DiskCacheStrategy.NONE).placeholder(R.color.tmb_background)
|
||||||
|
.centerCrop().crossFade().into(viewHolder.photoThumbnail);
|
||||||
}
|
}
|
||||||
|
|
||||||
return convertView;
|
return convertView;
|
||||||
|
|
Loading…
Reference in a new issue