Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate entries in QuizActivity. #275

Closed
adityastic opened this issue Jun 8, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@adityastic
Copy link
Contributor

commented Jun 8, 2019

Describe the issue

The recycler view list in the QuizFragment does not get cleared, instead the items are added into the earlier list everytime. We need to clear the list on fetching the attempts


Would you like to work on this
YES

@aggarwalpulkit596

This comment has been minimized.

Copy link
Collaborator

commented Jun 8, 2019

I'm sorry I didn't get you here what's the issue can you explain a little bit more

@adityastic

This comment has been minimized.

Copy link
Contributor Author

commented Jun 8, 2019

@aggarwalpulkit596 the attemplist gets created on activitycreated in aboutquizfragment. When you enter a quiz and press back, the list gets reinitialised and the items get appended again. This adds the same items again hence creating duplicate entries, we should clear the list and then append the items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.