Closed nickbarba closed 6 years ago
Hi,
Thanks for your contribution.
-finishInfiniteScroll
always hides activity indicator. Activity indicator is displayed when state.loading = YES
.
You should never have a state when state.loading = NO
and activity indicator is visible.
If you have it, we need a way to reproduce it. Also, make sure you work with UI on main thread. It's a common mistake to work with UI from background thread and observe all kinds of weird inconsistencies.
I do have state.loading = NO and activity indicator is visible. Happens on first time scrolling to end of tableView and if I pass false because there is not additional content. I'll look to see if I can get a stripped down version of my code to share.
I am not able to reproduce that in Example app (Swift). You can use example app from repository as a boilerplate to reproduce the bug that you experience.
@nickbarba any luck reproducing this in stripped down version?
Closing due to inactivity.
Above code should not show activity indicator view when user scrolls.
Fixed so if should not show the infinite scroll, hiding the activity indicator.