CancelButton
data class CancelButton(val text: String? = null, val icon: PODrawableImage? = null, val disabledForSeconds: Int = 0, val confirmation: POActionConfirmationConfiguration? = null) : Parcelable
Cancel button configuration.
Parameters
text
Button text. Pass null to use default text.
icon
Button icon drawable resource. Pass null to hide.
disabledForSeconds
Initially disables the button for the given amount of time in seconds. By default user can interact with the button immediately when it's visible.
confirmation
Specifies action confirmation configuration (e.g. dialog). Use null to disable, this is a default behaviour.
Constructors
Link copied to clipboard
constructor(text: String? = null, icon: PODrawableImage? = null, disabledForSeconds: Int = 0, confirmation: POActionConfirmationConfiguration? = null)