优化
This commit is contained in:
@@ -105,7 +105,7 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification
|
|||||||
view ?: return
|
view ?: return
|
||||||
val bitmap = resource.copy(resource.config, true)
|
val bitmap = resource.copy(resource.config, true)
|
||||||
ImageProvider.bitmapLruCache.put(url, bitmap)
|
ImageProvider.bitmapLruCache.put(url, bitmap)
|
||||||
binding.verificationCodeImageView.setImageBitmap(resource)
|
binding.verificationCodeImageView.setImageBitmap(bitmap)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onLoadCleared(placeholder: Drawable?) {
|
override fun onLoadCleared(placeholder: Drawable?) {
|
||||||
|
|||||||
Reference in New Issue
Block a user