Refactor Internal Setter smell in RecyclingImageView class

This commit is contained in:
emaiannone 2020-01-19 09:59:20 +01:00
parent 8fc54ac68c
commit 061c318e05
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class RecyclingImageView extends AppCompatImageView {
if (drawable instanceof BitmapDrawable) {
if (isBitmapRecycled(drawable)) {
this.setImageDrawable(null);
setInvalidated(true);
this.invalidated = true;
}
} else if (drawable instanceof TransitionDrawable) {
TransitionDrawable transitionDrawable = (TransitionDrawable) drawable;