Interface ValueAnimator.AnimatorUpdateListener

Enclosing class:
ValueAnimator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface 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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notifies the occurrence of another frame of the animation.
  • Method Details

    • onAnimationUpdate

      void onAnimationUpdate(@Nonnull ValueAnimator animation)

      Notifies the occurrence of another frame of the animation.

      Parameters:
      animation - The animation which was repeated.