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

数据不足一页时,仍然显示“加载中” #541

Closed
loganguo opened this issue Nov 21, 2016 · 1 comment
Closed

数据不足一页时,仍然显示“加载中” #541

loganguo opened this issue Nov 21, 2016 · 1 comment

Comments

@loganguo
Copy link

如题当数据不满一页(20条)时,比如只有3条数据,应该只显示这3条数据。但是用的2.6.0库,不仅显示了这三条数据而且还显示“加载中”。请问如何处理呢?

我需要去掉“加载中”这一条,通过

getQuickAdapter().loadMoreComplete();
getQuickAdapter().loadMoreEnd();

并没有去掉,变成了“没有更多数据了”。

@CymChad
Copy link
Owner

CymChad commented Nov 21, 2016

数据不足一页时,setEnableLoadMore(false);,开启上拉加载调用setEnableLoadMore(true)

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