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

addData bug? #2621

Closed
XiongKe94 opened this issue Jan 10, 2019 · 3 comments
Closed

addData bug? #2621

XiongKe94 opened this issue Jan 10, 2019 · 3 comments

Comments

@XiongKe94
Copy link

最新版本
当adapter数据为空时,addData()一条数据会自动触发onLoadMoreRequested();
addData()已经设置加载结束了;
能不能不触发呢?

@XiongKe94
Copy link
Author

只有调用了 setEnableLoadMore(false);才不会触发 ,调用loadMoreEnd(true); 无效

@XiongKe94
Copy link
Author

查看源码发现是bindViewHolder里面重写加载数据导致 有没有解决方法呢

@limuyang2
Copy link
Collaborator

addData() 之后马上调用 loadMoreEnd()。
如果问题依然存在,请提供demo。并参照 #2807 提问

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

No branches or pull requests

2 participants