OptionSelection
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<Option>, @IntRange(from = 1, to = 90) val minChoices: Int? = null, @IntRange(from = 3, to = 90) val maxChoices: Int? = null, val maxChoicesStrict: Boolean = true, 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<Option>) -> Unit) : OptionSelection
Multiple-choice selection for the list dialog.
Link copied to clipboard
class Single(val options: List<Option>, 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: Option) -> Unit) : OptionSelection
Single-choice selection for the list dialog.