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
notice,it‘s a async action,now recyclerview only have one child(loadmore item), so it will cause load more twice,becase your code didn't calculcate loadmore item count(1)
The text was updated successfully, but these errors were encountered:
HelloVass
changed the title
#Bug forget to calculate loadmore item count
forget to calculate loadmore item count
Jul 8, 2018
NoNews
added
the
research needed
This question should be checked, but so far I do not have time. I will definitely return to this iss
label
Aug 2, 2018
Hi @HelloVass thank you for this issue and sorry for late answer.
Yes, I have made a mistake in sample. Will fix it, thank you.
For this situation, it is very important to don't forget call a method showLoading(true);
It's block method onLoadMore();, until you call showLoading(false);
@NoNews thanks for your response,I have refacrored your NoPaginate with kotlin.I hope you don't mind.If you are interested, here is the link.I use it for my project,and it solved my problem,thanks again.
when I add code in your
MianActivity
like :notice,it‘s a async action,now recyclerview only have one child(loadmore item), so it will cause load more twice,becase your code didn't calculcate loadmore item count(1)
The text was updated successfully, but these errors were encountered: