Reputation: 2098
super.onSaveInstanceState(outState);
and super.onRestoreInstanceState(savedInstanceState);
automatically saves views, but onSaveInstanceState
and onRestoreInstanceState
aren't called always. I need equivalents of above two super calls to use in onPause()
, to save views when I leave activity and restore saved views in `onCreate()'. How can I do that?
Upvotes: 0
Views: 57