Denis Ismailaj
@Composable fun BugRepro() { val images = listOf( Icons.Default.Home, Icons.Default.LocalActivity ) var index by remember { mutableStateOf(1) } Image( imageVector = images[index], contentDescription = null, modifier = Modifier .width((50 + index * 50).dp) // Just so they're different sizes .height(76.dp) ) LaunchedEffect(key1 = Unit) { delay(1000) index-- delay(1000) index++ } }
key
Timo Drick
A modern programming language that makes developers happier.