ListSelection
The selection configuration for the list dialog.
Parameters
options
The options that will be displayed.
Inheritors
Types
Link copied to clipboard
class Multiple(val options: List<ListOption>, val showCheckBoxes: Boolean = false, @IntRange(from = 1, to = 90) val minChoices: Int? = null, @IntRange(from = 3, to = 90) val maxChoices: Int? = null, val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val onSelectOptions: (selectedIndices: List<Int>, selectedOptions: List<ListOption>) -> Unit) : ListSelection
Multiple-choice selection for the list dialog.
Link copied to clipboard
class Single(val options: List<ListOption>, val showRadioButtons: Boolean = false, val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val onSelectOption: (index: Int, option: ListOption) -> Unit) : ListSelection
Single-choice selection for the list dialog.