To Do List Disappears on Orientation Change
I am at Chapter 4 with the sample To Do list app. I noticed the list disappears when the orientation changes. When holding the phone vertically and turning to horizontal orientation, the list is cleared. Or when horizontal and sliding out the keyboard, the list resets, and all entries on the list are deleted.
What code is necessary to stop the list from being lost on orientation changes?
Do I need to over ride onConfigurationChanged(), and what would I put in here?
Maybe I've missed something else?
Thank you
|