Added in API level 11

AnimatorUpdateListener


interface AnimatorUpdateListener
android.animation.ValueAnimator.AnimatorUpdateListener

Implementors of this interface can add themselves as update listeners to an ValueAnimator instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that ValueAnimator.

Summary

Public methods
abstract Unit

Notifies the occurrence of another frame of the animation.

Public methods

onAnimationUpdate

Added in API level 11
abstract fun onAnimationUpdate(animation: ValueAnimator): Unit

Notifies the occurrence of another frame of the animation.

Parameters
animation ValueAnimator: The animation which was repeated. This value cannot be null.