Challenge

Cheaters never win. Unless, of course, they persistently circumvent your anticheating measures. Which they probably will. Because they are cheaters.

GeoQuiz has a few major loopholes. For this challenge, you will busy yourself with closing them. Here are the loopholes in ascending order, from easiest to hardest to close:

  • Users can rotate CheatActivity after they cheat to clear out the cheating result.

  • Once they get back, users can rotate QuizActivity to clear out mIsCheater.

  • Users can press Next until the question they cheated on comes back around.

Good luck!

Get Android Programming: The Big Nerd Ranch Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.