-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Description
Description
Once the events on the main screen have been loaded, if the internet connection is lost, and the user refreshes the list, the code makes the request to the server, hence the SwipeRefreshLayout keeps refreshing for a while (about 8-10 secs), after which a toast appears: "Error fetching events"
To Reproduce
Steps to reproduce the behavior:
- Go to main activity with the internet connection working, let it load all events.
- Turn on flight mode.
- Refresh the events list.
Expected behavior
The no internet card should appear instantaneously, the app should not initiate call to the server (via retryLoadLocationEvents() method), and the swipe refresh layout should stop refreshing.
Screenshots
Would you like to work on the issue?
Yes, working on it.
Metadata
Metadata
Assignees
Labels
No labels
