Android authoritative programming 5.5 Challenge practice

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.