State

data class State(    @DrawableRes val icon: Int,     val text: String? = null,     val duration: Long = 0)

Value object for updating button state.

Constructors

Link copied to clipboard
fun State(    @DrawableRes icon: Int,     text: String? = null,     duration: Long = 0)

Properties

Link copied to clipboard
val duration: Long = 0

Duration in milliseconds for button extend animation.

Link copied to clipboard
val icon: Int

Drawable Resource Id.

Link copied to clipboard
val text: String? = null

Message text for extended button.