lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 1.0.0
belongs to Maven artifact androidx.core:core:1.0.0

ViewPropertyAnimatorListener

public interface ViewPropertyAnimatorListener

androidx.core.view.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 onAnimationCancel(View view)

Notifies the cancellation of the animation.

abstract void onAnimationEnd(View view)

Notifies the end of the animation.

abstract void onAnimationStart(View view)

Notifies the start of the animation.

Public methods

onAnimationCancel

added in version 1.0.0
public abstract void onAnimationCancel (View view)

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

Parameters
view View: The view associated with the ViewPropertyAnimator

onAnimationEnd

added in version 1.0.0
public abstract void onAnimationEnd (View view)

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

Parameters
view View: The view associated with the ViewPropertyAnimator

onAnimationStart

added in version 1.0.0
public abstract void onAnimationStart (View view)

Notifies the start of the animation.

Parameters
view View: The view associated with the ViewPropertyAnimator