dan
07/10/2023, 2:26 AMBox() {
Text("test",Modifier.clickable {
LogUtil.i("Text click")
} )
}
Kirill Grouchnikov
07/10/2023, 4:26 AMKirill Grouchnikov
07/10/2023, 4:28 AMdan
07/10/2023, 5:58 AMJulius Hinze
07/11/2023, 12:15 PMvar isClicked = remember mutableStateOf false
And then you can do onClick = { isClicked = true
} .
To show a slider you use conditional rendering, e.g. with AnimatedVisibility(isClicked) { Slider() }
.
Opening a dialog is something else. I suggest you post another question here.