Skip to content

Configuration change is not handled #29

Open
@jaychang0917

Description

@jaychang0917

Steps to reproduce:

  1. Switch off network connection
  2. Open the app, show "No network connection" snackbar
  3. Switch on network connection
  4. Click "Refresh", movies show up
  5. Then rotate screen, "No network connection" snackbar is shown.

The cause perhaps is that the MoviesViewModel holds the previous Failure value during configuration change.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions