Geoquiz application There are some big loopholes, our task is to plug these loopholes, from easy to difficult, the following are the three vulnerabilities to be resolved: 1. After the user cheats, you can rotate the cheatactivity to remove the cheat marks. 2. After the cheat is returned, the user can rotate the quizactivity to eliminate the mischeater variable value. 3. The user can repeatedly click the Next button to skip to the question of peeking over the answer, thus losing the cheat record.
1. Save the cheat marks by onsaveinstancestate and get them in the OnCreate () method.
2. Save the cheat marks by onsaveinstancestate and get them in the OnCreate () method.
3. Create a Boolean array that holds the current topic location to see the answer.
Github:https://github.com/flashfrog/geoquizchallenge.git
Android authoritative programming 5.5 Challenge practice