Skip to content

Posts in Home tab (first tab) does not load intermittently #1

@kaushiknsanji

Description

@kaushiknsanji

The said issue occurs intermittently whenever the app is launched somewhat immediately after closing/exiting the app.

When this happens, it can be observed that the progress bar is shown, while in the logs we get to see NO communication initiated by OkHttp with the REST API for retrieving the Post list.

Unit Tests for HomeViewModel did not reveal any issue, while Instrumented Tests involving HomeFragment through MainActivity did show up the same problem occurring intermittently for testcases that involved working with the fragment of Home Tab.

Only workaround right now is to relaunch the app several times until it loads the list.

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions