listItems
@Composable
Content copied to clipboard
Adds a selectable list with custom items to the dialog
Parameters
list
list of given generic type
onClick
callback with the index and item when a list object is clicked
isEnabled
a function to check if the item at a given index is enabled/clickable
item
a composable function which takes an object of given generic type
@Composable
Content copied to clipboard
Adds a selectable plain text list to the dialog
Parameters
list
the strings to be displayed in the list
onClick
callback with the index and string of an item when it is clicked