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

OnLoadMore is being called for the first time sample app opens #1

Closed
Morteza-Rastgoo opened this issue Dec 11, 2017 · 4 comments
Closed
Labels

Comments

@Morteza-Rastgoo
Copy link

No description provided.

@NoNews
Copy link
Owner

NoNews commented Dec 11, 2017

Hi @mori-honest, thank you for this issue.
I will fix it in 0.4.4 which I plan to release at the end of the week.

@NoNews NoNews added the bug label Dec 11, 2017
@Morteza-Rastgoo
Copy link
Author

Thanks for your help! I appreciate that!

@NoNews
Copy link
Owner

NoNews commented Dec 17, 2017

@mori-honest
Can you try setLoadingTriggerThreshold(0) in your PaginateBuilder?

How it works:
Method setLoadingTriggerThreshold set the offset from end of the list.
Default offset is 5.
It means that method onLoadMore will triggered when user scrolled to bottom position - 5 elements.

For now, the only thing that comes to mind is to set default value of loadingTriggerThreshold in the library to 0

@NoNews
Copy link
Owner

NoNews commented Dec 19, 2017

@mori-honest
0.4.4 released, don't forget about changelog

@NoNews NoNews closed this as completed Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants