You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app, I was experiencing the behavior of pressing "try again" on a new page error and it would switch to the loading spinner indefinitely as it was never making a new page request. Eventually I found the solution to be lowering my invisibleItemsThreshold which I had set to 10. At least on my device, any value of 8 or less will work. However, I believe this is a bug as I don't understand why a threshold intended for scrolling should have any impact on a manual request.
This can be easily reproduced in the example app by setting a high invisibleItemsThreshold assuming you've replaced the defunct API it uses with something else.
The text was updated successfully, but these errors were encountered:
The reason for this is that the way the retry button works is by clearing the error.
Once the error is cleared, the layout would get updated and set its flag for having requested a page back to false.
Then, once the threshold item is built, a new page would be requested.
A situation where the threshold item is not in view when this happens is rare, but with a high threshold, imaginable.
I will see if I can fix this.
In my app, I was experiencing the behavior of pressing "try again" on a new page error and it would switch to the loading spinner indefinitely as it was never making a new page request. Eventually I found the solution to be lowering my invisibleItemsThreshold which I had set to 10. At least on my device, any value of 8 or less will work. However, I believe this is a bug as I don't understand why a threshold intended for scrolling should have any impact on a manual request.
This can be easily reproduced in the example app by setting a high invisibleItemsThreshold assuming you've replaced the defunct API it uses with something else.
The text was updated successfully, but these errors were encountered: