MaterialAlertDialogBuilder with custom itemsText
I use a MaterialAlertDialogBuilder which display as:
https://i.stack.imgur.com/fUQUs.pngā¾
But I would like to display it more like button:
https://i.stack.imgur.com/aLoNI.pngā¾
I already tried to use a custom listItemLayout() but it doest not change the layout.
I tried to put an array of button instead of text but in this case I can not catch the click on the button.
My actual code is:
val itemsText =...