Saved State Module to Survive Process Death
3 min readJul 14, 2021
Introduction
Handling configuration changes regarding data management have been made easy with introduction of ViewModels. But when you think of unforeseen situations like process death, even viewmodels are of no use.
To be frank in most of the cases, viewmodel objects and the onSaveInstanceState()
method will do the trick, but when it comes to providing…