ViewPropertyAnimatorListener

Added in 1.1.0

public 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

Added in 1.1.0
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

Added in 1.1.0
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

Added in 1.1.0
abstract void onAnimationStart(@NonNull View view)

Notifies the start of the animation.

Parameters
@NonNull View view

The view associated with the ViewPropertyAnimator