iOS-WaterfallLayout icon indicating copy to clipboard operation
iOS-WaterfallLayout copied to clipboard

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

Open zhangxiongwen opened this issue 5 years ago • 1 comments

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

zhangxiongwen avatar Aug 14 '20 09:08 zhangxiongwen

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

xiaopin avatar Aug 14 '20 12:08 xiaopin