pronebird / UIScrollView-InfiniteScroll

UIScrollView ∞ scroll category
MIT License
1.06k stars 148 forks source link

this prevents a duplicate refresh #70

Closed djk12587 closed 6 years ago

djk12587 commented 6 years ago

When the first refresh happens and there is no new content, no matter where the user scrolls this would trigger another refresh. This simply checks the direction of the scroll. If the scroll is up, then don't trigger a refresh.

pronebird commented 6 years ago

@djk12587 awesome! Thanks a lot for sending the PR. I'll pull it tomorrow and play around but I don't expect it do any harm :) 👍

pronebird commented 6 years ago

Landed in https://github.com/pronebird/UIScrollView-InfiniteScroll/commit/352019917465cbf12bfaa4ef94fde44cf2d88a23