I have an Adapter
class and a MainActivity
. The Adapter
class displays the list of children names and beside the names, it displays the time
they arrived to the school. Problem is when I rotate to landscape, the time
values are lost.
I considered adding in my Manifest under MainActivity
android:configChanges="orientation|keyboardHidden|screenSize"
What happens is that the time values are not lost in landscape mode but the look of the layout appears same as that of portrait mode. In real, the landscape layout looks a bit different from portrait layout.
What do I do in this case in order to obtain time
values and also maintain the look of the landscape layout.