ViewPropertyAnimatorListenerAdapter

Added in 1.1.0

public class ViewPropertyAnimatorListenerAdapter implements ViewPropertyAnimatorListener


This adapter class provides empty implementations of the methods from ViewPropertyAnimatorListener. Any custom listener that cares only about a subset of the methods of this listener can simply subclass this adapter class instead of implementing the interface directly.

Summary

Public constructors

Public methods

void

Notifies the cancellation of the animation.

void

Notifies the end of the animation.

void

Notifies the start of the animation.

Public constructors

ViewPropertyAnimatorListenerAdapter

Added in 1.1.0
public ViewPropertyAnimatorListenerAdapter()

Public methods

onAnimationCancel

public 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

onAnimationEnd

public void onAnimationEnd(@NonNull View view)

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

onAnimationStart

public void onAnimationStart(@NonNull View view)

Notifies the start of the animation.