ActionConfirmation

data class ActionConfirmation(val enabled: Boolean = false, val title: String? = null, val message: String? = null, val confirmActionText: String? = null, val dismissActionText: String? = null) : Parcelable

Specifies action confirmation configuration (e.g. dialog).

Parameters

enabled

Enables action confirmation. Default value is false.

title

Custom title. Pass null to use default text.

message

Custom message. Pass null to use default text. Pass empty string to hide.

confirmActionText

Custom confirm action text. Pass null to use default text.

dismissActionText

Custom dismiss action text. Pass null to use default text. Pass empty string to hide.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, title: String? = null, message: String? = null, confirmActionText: String? = null, dismissActionText: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val enabled: Boolean = false
Link copied to clipboard
val message: String? = null
Link copied to clipboard
val title: String? = null

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)