OnAnimationEventListener

public interface OnAnimationEventListener

An event listener for animations, allows events to be triggered when an animation completes, is aborted by another animation starting, or is aborted by a touch event. Note that none of these events are triggered if the activity is paused, the image is swapped, or in other cases where the view's internal state gets wiped or draw events stop.

Inheritors

Functions

Link copied to clipboard
public abstract void onComplete()
The animation has completed, having reached its endpoint.
Link copied to clipboard
public abstract void onInterruptedByNewAnim()
The animation has been aborted before reaching its endpoint because a new animation has been started.
Link copied to clipboard
public abstract void onInterruptedByUser()
The animation has been aborted before reaching its endpoint because the user touched the screen.