Activities in Android are often destroyed and recreated (e.g. a new Window is opened on top of an activity). The Activity may need to save/restore some custom data, so for that we need this feature. This is already implemented in a fix for the tab group code: https://github.com/appcelerator/titanium_mobile/pull/6008
And this infrastructure is now available for other activities and modules.