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)