listItemsMultiChoice
@Composable
Content copied to clipboard
Adds a multi-choice list view to the dialog
Parameters
list
a list of string labels for the multi-choice items
disabledIndices
a list of indices which should be disabled/unselectable
initialSelection
a list of indices which should be selected initially
waitForPositiveButton
if true the onCheckedChange callback will only be called when the positive button is pressed, otherwise it will be called when the a new item is selected
onCheckedChange
a function which is called with a list of selected indices. The timing of this call is dictated by waitForPositiveButton