Skip memory cache for images in catalog
This commit is contained in:
parent
b4277faf90
commit
5ecdecea98
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user