MartinKoleff / KareFitnessApp

Android fitness app made in Jetpack Compose.
MIT License
4 stars 0 forks source link

SavedStateHandle backup on configuration change for all view models #82

Open MartinKoleff opened 1 month ago

MartinKoleff commented 1 month ago

When configuration change happens view model state is reset. To avoid that you need to save the state in savedStateHandle and retrieve it on configuration change callback.