We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code has an excessive recomposition for the RatingBar when you type the text
@Composable private fun Foo() { Column(modifier = Modifier.padding(20.dp)) { var rating by remember { mutableFloatStateOf(0f) } var feedback by remember { mutableStateOf("") } RatingBar( value = rating, painterEmpty = painterResource(id = R.drawable.ic_star_off), painterFilled = painterResource(id = R.drawable.ic_star_on), onValueChange = { rating = it }, onRatingChanged = {} ) TextField(value = feedback, onValueChange = { feedback = it }) } }
Painter is unstable param. Check SO for resolve this problem.
Painter
The text was updated successfully, but these errors were encountered:
@vvdrak thanks. will fix this
Sorry, something went wrong.
No branches or pull requests
This code has an excessive recomposition for the RatingBar when you type the text
Painter
is unstable param. Check SO for resolve this problem.The text was updated successfully, but these errors were encountered: