Thomas Dougherty
03/14/2022, 10:27 PMRow(
Modifier
.fillMaxWidth()
.selectable(
selected = (text == selected),
onClick = { if(enabled) onSelection(text, index) }
)
.padding(vertical = rowSpacing)
) {
RadioButton(
selected = (text == selected),
enabled = enabled,
interactionSource = remember { DisabledInteractionSource() },
onClick = { onSelection(text, index) }
)
onClick
in radio button to null
, I can just handle the clicks on the row. I’ll leave this here incase someone needs it in the future.Tash
03/15/2022, 2:09 AMCheckbox
as an example