SettingsDataDialog

data class SettingsDataDialog(val title: String, val positiveButton: String? = null, val negativeButton: String? = null, val saveOnDismiss: Boolean = true, val integer: Boolean = false, val float: Boolean = false, val list: ListDialogOptions? = null)

The data for displaying a dialog when clicked the item.

Author

Arnau Mora

Since

20211229

Parameters

title

The title of the dialog.

positiveButton

The text of the positive button of the dialog, if null won't be displayed.

negativeButton

The text of the negative button of the dialog, if null won't be displayed.

saveOnDismiss

If the preference value should be stored when dismissing the dialog.

Constructors

Link copied to clipboard
fun SettingsDataDialog(title: String, positiveButton: String? = null, negativeButton: String? = null, saveOnDismiss: Boolean = true, integer: Boolean = false, float: Boolean = false, list: ListDialogOptions? = null)

Properties

Link copied to clipboard
val float: Boolean = false
Link copied to clipboard
val integer: Boolean = false
Link copied to clipboard
val list: ListDialogOptions? = null
Link copied to clipboard
val negativeButton: String? = null
Link copied to clipboard
val positiveButton: String? = null
Link copied to clipboard
Link copied to clipboard