This commit is contained in:
kunfei
2022-12-24 19:20:27 +08:00
parent 660d6e213d
commit 4ad7949387
@@ -65,7 +65,7 @@ object ImageProvider {
}
fun getNotRecycled(key: String): Bitmap? {
private fun getNotRecycled(key: String): Bitmap? {
val bitmap = bitmapLruCache.get(key) ?: return null
if (bitmap.isRecycled) {
bitmapLruCache.remove(key)