-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop GifDrawable in onFrameReady if all callbacks are Drawables.
When we use TransitionDrawable, the GifDrawable’s callback is always non-null and always the TransitionDrawable, even if the TransitionDrawable was removed from the view hierarchy. Checking up the callback chain allows us to ensure that there’s a non-Drawable callback eventually.
- Loading branch information
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters