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

TrendingMoviesActivity is blank on later launches without network #2

Closed
evanisnor opened this issue May 24, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@evanisnor
Copy link
Owner

TrendingMoviesActivity loads as a blank screen / empty list when launched 24 hours after the last launch successful launch.

Should display last known list of movies with a snackbar message telling the user about the stale data.

Steps to reproduce

  1. Launch the app
  2. Confirm trending movies list loads as expected
  3. Close the app
  4. Open device settings
  5. System -> Date & time
  6. Uncheck 'Use network-provided time'
  7. Set date to tomorrow (+1 day)
  8. Launch the app again

Expected: App displays the last known list of movies with the following snackbar message:

This list {n} day(s) old. Connect for an update! [Okay]

Actual: App shows a blank screen

@evanisnor evanisnor added this to On Deck in Cache updates May 24, 2021
@evanisnor evanisnor added the bug Something isn't working label May 24, 2021
@evanisnor
Copy link
Owner Author

solved with 0753892

Cache updates automation moved this from On Deck to Done May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

1 participant