czl0325 / ZLCollectionView

为应对类似淘宝首页,京东首页,国美首页等复杂布局而写的Collectionview。基于UICollectionView实现,目前支持标签布局,列布局,百分比布局,定位布局,填充式布局,瀑布流布局等。支持纵向布局和横向布局,可以根据不同的section设置不同的布局,支持拖动cell,头部悬浮,设置section背景色和自定义section背景view,向自定义背景view传递自定义方法。功能强大,超过Android的recyclerview,实现了电影选座等高难度的布局。
MIT License
1.16k stars 166 forks source link

[self.collectionView reloadItemsAtIndexPaths:@[index]]; 直接闪退 #35

Closed LoSenTrad closed 3 years ago

LoSenTrad commented 3 years ago

[self.collectionView reloadItemsAtIndexPaths:@[index]];

reload items直接闪退

czl0325 commented 3 years ago

你用法有问题吧??

[weakSelf.collectionViewLabel reloadItemsAtIndexPaths:@[[NSIndexPath indexPathForItem:0 inSection:0]]];

LoSenTrad commented 3 years ago

刷新item 或者整个表刷新 都有异常

czl0325 commented 3 years ago

什么异常呢?我在我demo里测试没问题啊,我demo有带下拉刷新

LoSenTrad commented 3 years ago

我做单页瀑布流, reloadData 到时候 第一个item 一直在闪

LoSenTrad commented 3 years ago

第二次reloadData的时候

czl0325 commented 3 years ago

你发个demo到我邮箱下。295183917@qq.com

LoSenTrad commented 3 years ago

好的 有时间 我整理一个demo出来