What is the difference between “remember” and “mutableState” in android jetpack compose?
remember is a composable function that can be used to cache expensive operations. You can think of it as a cache which is local to your composable. val state: Int = remember { 1 } The state in the above code is immutable. If you want to change that state and also update the UI, … Read more