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
UICollectionView的骨架屏动画期间会执行sizeForItemAtIndexPath 代理方法,导致初始化骨架屏时设置的cellSize被覆盖 #175
Comments
看起来没有问题,去TABCollectionAnimated中的sizeForItemAtIndexPath方法里,打个断点调试一下 |
感谢回复,我再调试看看,请问怎么加微信群,二维码过期了,有问题可以方便交流😂 |
@tigerAndBull 作者大佬,你好
|
用2.6.2试试,不行加wx: _tigerAndBull |
|
cellSize和cellHeight都有两种形态,一种是属性,一种是通过代理获取。
重写的目的是什么,可能是重写后某些生命周期变化了,如果要继续追踪的话,需要提供重写了什么 |
重写是为了实现多列瀑布流,采用的layout是这个 |
New Issue Checklist
Issue Info
Issue Description and Steps
懒加载中设置骨架屏
页面开启,加载骨架屏时就执行方法:
在为UItableView设置骨架屏期间不会执行- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath, 所以初始化设置的cellHeight不会被覆盖。
The text was updated successfully, but these errors were encountered: