How can I save the state of my tabs when the device Orientation
is changed?
I have an ArrayList
that holds all the currently open tabs
ArrayList<TabHost.TabSpec> mTabList = new ArrayList<TabHost.TabSpec>();
Changing the Orientation
of the device clears all the tabs the user created.
I would do it with savedInstanceState
but I don't know how to bundle it, if that's even possible.
What are your suggestions?