registerAnimationCallback
Register callback to listen to GifDrawable animation end event after specific loop count set by setLoopCount.
Note: This will only be called if the Gif stop because it reaches the loop count. Unregister this in onLoadCleared to avoid potential memory leak.
See also
Parameters
animationCallback
Animation callback Animatable2Compat.AnimationCallback.