While doing the challenge “Graded Quiz” I chose to declare two new variables
mQuestionsAnsweredCorrectly that I update whenever the True or False button is pressed. Recalculating these values on each click by iterating and checking through all questions seemed like a bad idea to me.
However, now I need to store these values in my bundle to save them from the activity’s destruction at a device rotation. What i wonder is this: Is it normal to declare a whole bunch of keys for saving data in my bundle when the application becomes more complex?