public interface IconicsAnimationListener
| Modifier and Type | Method and Description |
|---|---|
default void |
onAnimationCancel(IconicsAnimationProcessor processor)
Notifies the cancellation of the animation.
|
default void |
onAnimationEnd(IconicsAnimationProcessor processor)
Notifies the end of the animation.
|
default void |
onAnimationEnd(IconicsAnimationProcessor processor,
boolean isReverse)
Notifies the end of the animation.
|
default void |
onAnimationRepeat(IconicsAnimationProcessor processor)
Notifies the repetition of the animation.
|
default void |
onAnimationStart(IconicsAnimationProcessor processor)
Notifies the start of the animation.
|
default void |
onAnimationStart(IconicsAnimationProcessor processor,
boolean isReverse)
Notifies the start of the animation as well as the animation's overall play direction.
|
default void onAnimationStart(IconicsAnimationProcessor processor, boolean isReverse)
onAnimationStart(IconicsAnimationProcessor). This method can be overridden,
though not required, to get the additional play direction info when an animation starts.
Skipping calling super when overriding this method results in
onAnimationStart(IconicsAnimationProcessor) not getting called.processor - The started processor.isReverse - Whether the processor is playing in reverse.default void onAnimationEnd(IconicsAnimationProcessor processor, boolean isReverse)
This method's default behavior is to call onAnimationEnd(IconicsAnimationProcessor).
This method can be overridden, though not required, to get the additional play direction info
when an animation ends. Skipping calling super when overriding this method results in
onAnimationEnd(IconicsAnimationProcessor) not getting called.
processor - The processor which reached its end.isReverse - Whether the processor is playing in reverse.default void onAnimationStart(IconicsAnimationProcessor processor)
processor - The started processor.default void onAnimationEnd(IconicsAnimationProcessor processor)
processor - The processor which reached its end.default void onAnimationCancel(IconicsAnimationProcessor processor)
processor - The processor which was canceled.default void onAnimationRepeat(IconicsAnimationProcessor processor)
processor - The processor which was repeated.