Skip to content

Properly save Fragment state #9

@kylemsguy

Description

@kylemsguy

Currently, if the device rotation is changed, or if in the new UI the user changes to a different page, the state on the current fragment is lost. What needs to be done is that each instance variable has to be saved properly, and restored the next time the Fragment is created on a fragment restore. Fixed for Answer screen only

A related issue is when the phone is rotated, the app returns to HomeFragment. What needs to be done is to implement onPause and onResume to save and restore state properly. Fixed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions