-
public interface RepeatAnimationCallbackThis interface is for receiving callback when animation is about to be repeated.
-
-
Method Summary
Modifier and Type Method Description UnitonRepeat(ApngDrawable drawable, Integer nextLoop)This is called when animation is about to be repeated. UnitonAnimationRepeat(ApngDrawable drawable, Integer nextLoopIndex)This is called when animation is about to be repeated. -
-
Method Detail
-
onRepeat
@Deprecated(message = "Use onAnimationRepeat", replaceWith = @ReplaceWith(imports = {}, expression = "")) Unit onRepeat(ApngDrawable drawable, Integer nextLoop)
This is called when animation is about to be repeated.
- Parameters:
nextLoop- loop count of the next animation.
-
onAnimationRepeat
Unit onAnimationRepeat(ApngDrawable drawable, Integer nextLoopIndex)
This is called when animation is about to be repeated.
TODO: This function has a default implementation for backward compatibility. It will be removed at the next version.
- Parameters:
nextLoopIndex- loop index of the next animation.
-
-
-
-