Android App Development, AndroidDev, Jetpack Compose, Jetpack Compose Stability, Jetpack Compose Immutable.
PlayerData, val score: Int, ) data class PlayerData( val name: String, val nickname: String, ) Back to our first example, what happens when used in a Composable? @Composable fun PlayerScore(player: Player) { var isActive by remember { mutableStateOf(false) } Column { PlayerDetails(player)