Animator
Manages a set of AnimationPlans and updates them over time.
Inheritors
Types
Link copied to clipboard
interface AnimationBlock
Allows block-style animations to be defined and started. These animations are then grouped and managed by a top-level Animation. Callers are then able to monitor/cancel the entire group using the returned value.
Link copied to clipboard
Contains data about a numeric animation. This is an intermediate type that is generated in the process of building animations.
Properties
Inherited functions
Link copied to clipboard
operator fun <V, T, K> Animator.invoke(default: T, using: NumericAnimationPlan<T, K>, onChanged: (old: T, new: T) -> Unit = { _,_ -> }): ReadWriteProperty<V, T>
Defines a property that can be animated using the given animation.
operator fun <T, V> Animator.invoke(range: Pair<T, T>, using: NumericAnimationPlan<T, V>, onChanged: (T) -> Unit): Animation<T>
Starts an animation from range.first
to range.second
.