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

Add callbacks for errors / error states #3

Open
basshelal opened this issue Jul 27, 2019 · 0 comments
Open

Add callbacks for errors / error states #3

basshelal opened this issue Jul 27, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@basshelal
Copy link
Owner

Basically when the RecyclerView will be empty we need a way to allow for a callback that will allow us to do something when something goes wrong.
I can think of 3 error states:

  • No results (Search returned no results)
  • No connection (Internet connection error)
  • Generic error (Something else)

We mainly want this so that the caller can add Views/Layouts to display when one of these happens and callbacks too to maybe act accordingly as well.

@basshelal basshelal added the enhancement New feature or request label Jul 27, 2019
@basshelal basshelal self-assigned this Jul 27, 2019
basshelal added a commit that referenced this issue Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant