ListDialogOptions

data class ListDialogOptions(val items: Map<String, String>, val dismissOnSelect: Boolean = true, val showSelectedItem: Boolean = true)

The options for setting a dialog as a list.

Author

Arnau Mora

Since

20211229

Parameters

items

The items to display in the dialog.

dismissOnSelect

If the dialog should be dismissed when selecting an option.

showSelectedItem

If true, a radio button (small circle) will be shown to indicate the currently selected item.

Constructors

Link copied to clipboard
fun ListDialogOptions(items: Map<String, String>, dismissOnSelect: Boolean = true, showSelectedItem: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard