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

请问大佬,为啥要在prepareLayout里面判断collectionView.isDecelerating ||collectionView.isDragging? #6

Open
zhangxiongwen opened this issue Aug 14, 2020 · 1 comment

Comments

@zhangxiongwen
Copy link

image
我使用过程中遇到了个问题 我在上拉加载更多数据的时候,collectionView是在滑动的,数据返回的时候 reloadData,这里直接return了,布局刷新不了。。。。。

@xiaopin
Copy link
Owner

xiaopin commented Aug 14, 2020

具体为什么我现在也没印象了,可能是参考了其他库的代码吧,你可以先把这个判断条件去掉,如遇到其他问题欢迎来讨论。

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