StateListAnimator

Lets you define a number of Animators that will run on the attached View depending on the View's drawable state.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addState(specs: Array<Int>, animator: ValueAnimator)
Associates the given Animation with the provided drawable state specs so that it will be run when the View's drawable state matches the specs.
Link copied to clipboard
If there is an animation running for a recent state change, ends it.
Link copied to clipboard
open fun setState(state: Array<Int>)
Called by View