Android App Development, AndroidDev, Jetpack Compose, Jetpack Compose Stability, Jetpack Compose Immutable.
want to use a non-primitive parameter, the class used for a non-primitive parameter must also be immutable. This means you’re safe if all the primitives that make up your classes are declared with val keywords. For example, here, the Player will still be immutable: data class Player( val name: