Skip to content

Add loadingState #26

Description

@vedangj044

I'm submitting a

  • bug report.
  • feature request.

Current Behaviour:

We have a loader that is displayed till the data is fetched from the API, but there is no support for the situation where loading data is failed due to reasons like slow or no network.

Expected Behaviour:

As we are using paging3 library, it comes with loadStateFlow which can be collected on the activity to show different loading this. We need to show the progress bar while content is loading and retry image button if it fails. When the retry button is clicked it should adapter.retry() function.

Steps to reproduce:

Remove app from recent apps.
Turn off internet
Open the app
Notice the progressbar is displayed indefinitely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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