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

首先非常感谢作者能开源recycerview分页解决方案,另外请问下作者能在下个版本中加入拖曳排序功能吗?我这边加了拖曳发现拖曳的时候画面偶会闪一下,而且拖动到边缘不会回弹 #32

Open
shenghai2019 opened this issue Aug 30, 2019 · 1 comment

Comments

@shenghai2019
Copy link

No description provided.

@baihuahuade
Copy link

将 PagerGridLayoutManager 中的 预存储View 这段代码注释掉就可以了
// if (mOffsetX == 0 && mOffsetY == 0) {
// // 预存储View
// for (int i = 0; i < mOnePageSize; i++) {
// if (i >= getItemCount()) break; // 防止数据过少时导致数组越界异常
// View view = recycler.getViewForPosition(i);
// addView(view);
// measureChildWithMargins(view, mWidthUsed, mHeightUsed);
// }
// }

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