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

滑动缓慢时,item不能全部显示就开始加载 #38

Open
sh1018727638 opened this issue Dec 28, 2016 · 1 comment
Open

滑动缓慢时,item不能全部显示就开始加载 #38

sh1018727638 opened this issue Dec 28, 2016 · 1 comment

Comments

@sh1018727638
Copy link

现在又遇到了一个新的情况,就是如果item的长度比较大,在缓慢滑动时,item不能全部显示就开始加载了

@qStars
Copy link

qStars commented Sep 29, 2017

@sh1018727638 下载源码找到 RecyclerViewOnScroll 类。
在64行加入此代码。
if (!ViewCompat.canScrollVertically(mPullLoadMoreRecyclerView.getRecyclerView(), 1)){
mPullLoadMoreRecyclerView.setIsLoadMore(true);
mPullLoadMoreRecyclerView.loadMore();
}

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