I'm new to this how to handle app when you turn your gadget and I have a problem.
- I'm inflating table rows into a table.
- They are gone (View.GONE) when
onCreate()
. - They appear on a
click
of a button. - but disappear when screen orientation changes.
Is there a way to preserve Visibility of a View when orientation changes?
I've not yet worked with onSaveInstanceState()
or similar, just onCreate()
for now.
Any suggestions would appreciated.
I'm eager to learn new stuff Thanks in advance!