ViewPropertyAnimatorListener

interface ViewPropertyAnimatorListener

Known direct subclasses
ViewPropertyAnimatorListenerAdapter

This adapter class provides empty implementations of the methods from ViewPropertyAnimatorListener.


An animation listener receives notifications from an animation. Notifications indicate animation related events, such as the end or the start of the animation.

Summary

Public methods

abstract void

Notifies the cancellation of the animation.

abstract void

Notifies the end of the animation.

abstract void

Notifies the start of the animation.

Public methods

onAnimationCancel

abstract void onAnimationCancel(@NonNull View view)

Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.

Parameters
@NonNull View view

The view associated with the ViewPropertyAnimator

onAnimationEnd

abstract void onAnimationEnd(@NonNull View view)

Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.

Parameters
@NonNull View view

The view associated with the ViewPropertyAnimator

onAnimationStart

abstract void onAnimationStart(@NonNull View view)

Notifies the start of the animation.

Parameters
@NonNull View view

The view associated with the ViewPropertyAnimator