CancelButton

constructor(text: String? = null, icon: PODrawableImage? = null, disabledForSeconds: Int = 0, confirmation: POActionConfirmationConfiguration? = null)

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.