infinite_scroll_pagination
infinite_scroll_pagination copied to clipboard
Infinite loading
I have added timeouts of 30 seconds on every api call and throw TimeoutException.
In case: I started loading with interned, but the internet was lost in 30 second It works and shows please try again later. Aftre that I turn on internet and trying again, but the loading goes forever and nothing happens
You have to update the state of the PagingController with your error.
try this pagingController.error = error