Added in API level 4
Animatable
interface Animatable
| android.graphics.drawable.Animatable |
Interface that drawables supporting animations should implement.
Summary
| Public methods | |
|---|---|
| abstract Boolean |
Indicates whether the animation is running. |
| abstract Unit |
start()Starts the drawable's animation. |
| abstract Unit |
stop()Stops the drawable's animation. |
Public methods
isRunning
Added in API level 4
abstract fun isRunning(): Boolean
Indicates whether the animation is running.
| Return | |
|---|---|
Boolean |
True if the animation is running, false otherwise. |