Saved State Module to Survive Process Death

Photo by Rod Long on Unsplash


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…