Nana Vong
06/03/2021, 9:43 AM@Composable fun Foo() {
val text: MutableState<String> = remember { mutableStateOf("") }
Button(onClick = { text.value = "00000000000" }) {
Text(text.value)
}
}
if my text is long ,Button's width will be long too. So ,Button will be Recomposed?Adam Powell
06/03/2021, 1:03 PM