Skip memory cache for images in catalog

This commit is contained in:
len 2016-04-13 17:59:05 +02:00
parent b4277faf90
commit 5ecdecea98

View File

@ -50,6 +50,7 @@ class CatalogueGridHolder(private val view: View, private val adapter: Catalogue
.load(if (headers != null) GlideUrl(url, headers) else url) .load(if (headers != null) GlideUrl(url, headers) else url)
.diskCacheStrategy(DiskCacheStrategy.SOURCE) .diskCacheStrategy(DiskCacheStrategy.SOURCE)
.centerCrop() .centerCrop()
.skipMemoryCache(true)
.placeholder(android.R.color.transparent) .placeholder(android.R.color.transparent)
.into(view.thumbnail) .into(view.thumbnail)