Till now, I was just putting everything, including non-view members, in the bundle in onSaveInstanceState() and retrieving it back in onRestoreInstanceState(). But I feel like I am not doing it the right way by persisting non-view data this way.
I have 6 arraylists of custom non-view objects in my app and all can grow considerably large. Serializing/deserializing them each time on screen rotation is causing a noticeable delay now. I was wondering if there's another way to do it that I am missing?