ActivityIndicator

class ActivityIndicator(val imageView: LottieAnimationView, @RawRes runningResId: Int = R.raw.mimi_lot_load, @RawRes successResId: Int = R.raw.mimi_lot_check, @RawRes failureResId: Int = R.raw.mimi_lot_cross)

Takes an ImageView and animates the corresponding vector drawable for the current State.

Constructors

Link copied to clipboard
constructor(imageView: LottieAnimationView, @RawRes runningResId: Int = R.raw.mimi_lot_load, @RawRes successResId: Int = R.raw.mimi_lot_check, @RawRes failureResId: Int = R.raw.mimi_lot_cross)

Types

Link copied to clipboard

The current state of this ActivityIndicator

Properties

Link copied to clipboard
val imageView: LottieAnimationView

Functions

Link copied to clipboard
fun clear()

Clears the resources for the attached ImageView

Link copied to clipboard

Method to transition to the specified State