DEV Community

Discussion on: Don't think Viewmodel will replace SaveInstanceState

leviaran profile image
Randy Arba Author

Yes true, but this save/load state only trigger when activty/fragmenst still alive.

funkymuse profile image
FunkyMuse • Edited on

It's bound to the fragment so the view model gets new instance if not instantiated already when fragment is recreated