mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 15:04:53 +03:00
Merge pull request #66 from emaiannone/refactoring/aDoctor
Refactor Internal Setter smell in RecyclingImageView class
This commit is contained in:
commit
ffa048177e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user