animatingProperty
fun <V, T> animatingProperty(default: T, animator: Animator, animation: (start: T, end: T) -> AnimationPlan<T>, onChanged: (old: T, new: T) -> Unit = { _,_ -> }): ReadWriteProperty<V, T>(source)
Creates a ReadWriteProperty that will animate to new values.
Parameters
default
value for the property to begin with
animator
to use for the animation
animation
to use with the start and end values
onChanged
that notifies when the underlying property changes