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

How to refresh the list data when I disconnect internet #49

Open
denglei022 opened this issue May 10, 2021 · 0 comments
Open

How to refresh the list data when I disconnect internet #49

denglei022 opened this issue May 10, 2021 · 0 comments

Comments

@denglei022
Copy link

Describe the bug
Can you handle when I disconnect internet and try refresh the list data ? I can handle the error in the Networking.swift, but how can I let my refresh trigger not competed with error. I can't refresh the tableview again By using headerRefreshTrigger or footerRefreshTrigger , because the subject is competed if receive the error.

To Reproduce
Steps to reproduce the behavior:

Go to one TablView Controller
disconnect the wifi
refresh the data again
loading forever
didn't send the subject signal and can't send request again ,so the tableview is loading forever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant