fix a glitch with loading huge png thumbnails on Android 11+
This commit is contained in:
parent
516f20856d
commit
5c0f7d493e
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ fun Context.loadPng(path: String, target: MySquareImageView, cropThumbnails: Boo
|
|||
.listener(object : RequestListener<Bitmap> {
|
||||
override fun onLoadFailed(e: GlideException?, model: Any?, targetBitmap: Target<Bitmap>?, isFirstResource: Boolean): Boolean {
|
||||
tryLoadingWithPicasso(path, target, cropThumbnails, roundCorners, signature)
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
override fun onResourceReady(resource: Bitmap?, model: Any?, targetBitmap: Target<Bitmap>?, dataSource: DataSource?, isFirstResource: Boolean): Boolean {
|
||||
|
|
Loading…
Reference in a new issue