CategorySelectableItem

constructor(selectableItemList: List<SelectableItem>, onUpdated: (isSelected: Boolean) -> Unit = { })(source)

Parameters

selectableItemList

The list of SelectableItems that this category manages.

onUpdated

A lambda function that is invoked when the selection state of this category item changes. It receives a boolean indicating the new selection state (true if selected, false otherwise). Defaults to an empty lambda.