ViewPropertyAnimatorListenerAdapter

Added in 1.1.0

class ViewPropertyAnimatorListenerAdapter : 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 functions

Unit

Notifies the cancellation of the animation.

Unit

Notifies the end of the animation.

Unit

Notifies the start of the animation.

Public constructors

ViewPropertyAnimatorListenerAdapter

Added in 1.1.0
ViewPropertyAnimatorListenerAdapter()

Public functions

onAnimationCancel

fun onAnimationCancel(view: View): Unit

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

Parameters
view: View

onAnimationEnd

fun onAnimationEnd(view: View): Unit

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

onAnimationStart

fun onAnimationStart(view: View): Unit

Notifies the start of the animation.