ProgressAnimator

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Add more changes to the ValueAnimator before running

Link copied to clipboard

Functions

Link copied to clipboard
fun build()
Link copied to clipboard
fun withAnimator(animator: (Float) -> Unit): Boolean

Standard animator. Emits progress value as is

fun withAnimator(from: Float, to: Float, animator: (Float) -> Unit): Boolean

Range animator. Multiples the range by the current float progress before emission

Link copied to clipboard
fun withEndAction(action: () -> Unit): Boolean

End action to be called once when the animator ends

Link copied to clipboard
fun withStartAction(action: () -> Unit): Boolean

Start action to be called once when the animator first begins