anitab-org / powerup-android

PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.
GNU General Public License v2.0
116 stars 430 forks source link

Points lost when app is reloaded #1317

Open CheshtaK opened 5 years ago

CheshtaK commented 5 years ago

Description

As a developer, I need to make sure that the points are recovered when the user clicks on 'Load Game', so that the user can continue from where she left off.

Mocks

ezgif com-optimize 1

Acceptance Criteria

Update [Required]

Definition of Done

Estimation

5 hours

Rimjhim28 commented 5 years ago

@CheshtaK Can you please discuss on how you intend to solve the stated issue.

CheshtaK commented 5 years ago

@Rimjhim28 I could store the user's points in a separate table using the Room library and hence recover them when the user loads the game.

Rimjhim28 commented 5 years ago

Sounds good @CheshtaK! Please send a PR. Feel free to reach out if you need any help. Also, you can join the community slack channel to talk about the issue, the project or the community in general.

CheshtaK commented 5 years ago

@Rimjhim28 I've sent a PR. Please review the same.

vibhusharma101 commented 4 years ago

@Rimjhim28 @geekanamika Can I work on this, If it is still open?

aditmehta9 commented 4 years ago

@Rimjhim28 @mayburgos @isabelcosta Can I work on this issue?