Join Slack
Powered by
<How to make a chip retain its shape after click-e...
# stackoverflow
u
user
07/11/2022, 4:11 PM
How to make a chip retain its shape after click-event in compose?
I am currently trying to make it so that when the user has clicked the chip it still retains it's initial form/shape, in this case round. How can I achieve this? This is how it operates currently:
https://gyazo.com/bdbe867adb5c9e75381f7ac923134709
The Chip code: @Composable fun TextChip( isSelected: Boolean, text: String, onChecked: (Boolean) -> Unit, selectedColor: Color = DarkGray,...
5
Views
Open in Slack
Previous
Next