Skip to content

Conversation

srujanjha
Copy link
Contributor

...gain.

The score(total correct, total wrong) adds up with the quiz taken previously, if the quiz is restarted/played again. Also the Unanswered gets wrong.
This issue is fixed now. I have just initialized the variables: totalCorrect and totalWrong in the QuizModel to '0', and called this function from ScoreActivity, whenever the quiz is restarted.

…d again.

The score(total correct, total wrong) adds up with the quiz taken previously, if the quiz is restarted/played again. Also the Unanswered gets wrong.
This issue is fixed now. I have just initialized the variables: totalCorrect and totalWrong in the QuizModel to '0', and called this function from ScoreActivity, whenever the quiz is restarted.
@srujanjha
Copy link
Contributor Author

screenshot_2015-03-06-20-49-31
As shown n the screenshot, the scores are wrong for a quiz with 5 questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant