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

Changed to remove scrollListener when unbind #7

Merged
merged 1 commit into from
Apr 29, 2018

Conversation

Chazo826
Copy link
Contributor

Thank you for making a good library.

If you create a paginate using the PaginateBuilder again after unbind, the onLoadMore event occurs twice.

The cause is that the scrollListener registered in the recyclerView is not cleared.

I used removeOnScrollListener because .clear () on the scrollListener also clears the user's registered scrollListener.

This issue also occurs in the 'master branch' and can be addressed in the same way.

@NoNews
Copy link
Owner

NoNews commented Apr 26, 2018

Hi, thank you!

I’ll review and merge it on this weekend

@NoNews NoNews requested a review from amnesiak April 28, 2018 13:15
@NoNews NoNews added the bug label Apr 28, 2018
@NoNews
Copy link
Owner

NoNews commented Apr 29, 2018

New version will be released today or tomorrow.
Thanks again.

@NoNews NoNews merged commit cf3a634 into NoNews:develop Apr 29, 2018
@NoNews
Copy link
Owner

NoNews commented May 1, 2018

@darker826 released in 0.9.9

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

Successfully merging this pull request may close these issues.

2 participants