Added in API level 23
AnimationCallback
abstract class AnimationCallback
| kotlin.Any | |
| ↳ | android.graphics.drawable.Animatable2.AnimationCallback |
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open Unit |
onAnimationEnd(drawable: Drawable!)Called when the animation ends. |
| open Unit |
onAnimationStart(drawable: Drawable!)Called when the animation starts. |
Public constructors
AnimationCallback
AnimationCallback()
Public methods
onAnimationEnd
Added in API level 23
open fun onAnimationEnd(drawable: Drawable!): Unit
Called when the animation ends.
| Parameters | |
|---|---|
drawable |
Drawable!: The drawable finished the animation. |
onAnimationStart
Added in API level 23
open fun onAnimationStart(drawable: Drawable!): Unit
Called when the animation starts.
| Parameters | |
|---|---|
drawable |
Drawable!: The drawable started the animation. |