Learning Android Development
Managing Compose State Variable With And Without ViewModel
Decide where can you put your Compose State variable
In Jetpack Compose, the way we update the UI is by updating the State Variable. But where should we put the Compose State Variable? How can we get it to survive per state restoration?