use low priority for loading png thumbnails too
This commit is contained in:
parent
e81ea4a89a
commit
bd97796d4e
1 changed files with 1 additions and 0 deletions
|
@ -497,6 +497,7 @@ fun Context.loadPng(path: String, target: MySquareImageView, cropThumbnails: Boo
|
||||||
.signature(path.getFileSignature())
|
.signature(path.getFileSignature())
|
||||||
.skipMemoryCache(skipMemoryCacheAtPaths?.contains(path) == true)
|
.skipMemoryCache(skipMemoryCacheAtPaths?.contains(path) == true)
|
||||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||||
|
.priority(Priority.LOW)
|
||||||
.format(DecodeFormat.PREFER_ARGB_8888)
|
.format(DecodeFormat.PREFER_ARGB_8888)
|
||||||
|
|
||||||
val builder = Glide.with(applicationContext)
|
val builder = Glide.with(applicationContext)
|
||||||
|
|
Loading…
Reference in a new issue