Interface Animatable2.AnimationCallback

Enclosing interface:
Animatable2

public static interface Animatable2.AnimationCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called when the animation ends.
    default void
    Called when the animation starts.
  • Method Details

    • onAnimationStart

      default void onAnimationStart(Drawable drawable)
      Called when the animation starts.
      Parameters:
      drawable - The drawable started the animation.
    • onAnimationEnd

      default void onAnimationEnd(Drawable drawable)
      Called when the animation ends.
      Parameters:
      drawable - The drawable finished the animation.