Open joshproehl opened 9 years ago
Did some looking in to this and it seems we might have to change the way the activities relate to each other to make it work. Maps creates DateChooser creates StatsList, which the back button destroys, and then the DateChooser is destroyed if you press back again. Since the chooser is destroyed when it is popped simply using the typical saveInstanceState stuff doesn't work.
I tried changing LaunchType to SingleInstance so that you get back to the same chooser, but this prevents the activity from going onto the backstack, so the back button takes you right past it... Not ideal.
Given: 1) I pick points 2) I pick date/time 3) I view statistics 4) I use back button to go back and pick two new points
Then: When I tap "Time and Date" again my previous date and time choices should still be populated.