Interface Animatable

All Known Subinterfaces:
Animatable2
All Known Implementing Classes:
AnimatedImageDrawable

public interface Animatable
Interface that drawables supporting animations should implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether the animation is running.
    void
    Starts the drawable's animation.
    void
    Stops the drawable's animation.
  • Method Details

    • start

      void start()
      Starts the drawable's animation.
    • stop

      void stop()
      Stops the drawable's animation.
    • isRunning

      boolean isRunning()
      Indicates whether the animation is running.
      Returns:
      True if the animation is running, false otherwise.