MultiSelect

class MultiSelect<T>(val selected: MutableState<List<Int>>, val selectOnCheckboxClickOnly: Boolean = true, val showSelectionCounter: Boolean = false) : DialogList.SelectionMode<T>

multi selection mode for the list dialog

Parameters

selected

holds the currently selected item ids

selectOnCheckboxClickOnly

if true, only clicks on the checkbox will select an item, otherwise a click on the item itself will select it as well

showSelectionCounter

if true, the count of the selected items will be shown in the dialog

Constructors

Link copied to clipboard
constructor(selected: MutableState<List<Int>>, selectOnCheckboxClickOnly: Boolean = true, showSelectionCounter: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard