State saving


#1

in 02_MVC_GeoQuiz e.g I can see there is an array TrueFalse[] mAnswerKey tied to the activity , so such state are recorded in " “activity record object” or it is needed to explicitly add into saved instance state ?


#2

The TrueFalse[] array is a statically assigned value. It will always be there when your code runs, so there is no need to save it in savedInstanceState (unless you’re storing some additional information in it - in which case it shouldn’t be static, either).