Dialog

data class Dialog

Shows a dialog containing the given message and buttons.

Constructors

Link copied to clipboard
fun Dialog(    dialogType: DialogType,     title: String,     header: String,     message: String,     vararg buttons: ButtonType)

Creates a Dialog.

Link copied to clipboard
fun Dialog(    title: String,     header: String,     message: String,     exception: Throwable)

Creates an exception Dialog.

Properties

Link copied to clipboard
val buttons: List<ButtonType>

Buttons to be shown. Standard set of buttons according to dialogType will be used if you don't pass any ButtonTypes.

Link copied to clipboard
val dialogType: DialogType

The DialogType of the alert. Affects the displayed icon.

Link copied to clipboard
val exception: Throwable

Throwable to be shown in expandable content.

Link copied to clipboard
val header: String

Headline to be shown in the dialogs content.

Link copied to clipboard
val message: String

Message to be shown.

Link copied to clipboard
val title: String

Title to be shown.