Comments (1)
CGFloat totalWidth = self.collectionView.frame.size.width;
实际上这个时候totalWidth为0,所以是否加一个判断过滤这一次的布局计算呀
from zlcollectionview.
Related Issues (20)
- 横向collectionView, ColumnLayout布局时候,Item能否横向顺序排列 HOT 1
- ios 15会闪退 HOT 6
- 自定义左右间距,以及cell中间间距,和collectionview的背景色时达不到想要的效果 HOT 1
- iOS15.5崩溃,列表不停地移除数据,请求数据会崩溃 HOT 2
- Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'no UICollectionViewLayoutAttributes instance for -layoutAttributesForDecorationViewOfKind: ZLCollectionReusableView at path <NSIndexPath: 0xd75e8385f47ec650> {length = 2, path = 0 - 0}' HOT 1
- 拖动有问题
- 横向collectionView,拖动排序,拖动到边缘无法自动滚动到其他cell(屏幕外),竖向的是可以 HOT 1
- 这种形式的可以实现吗 HOT 7
- 请问下demo运行警告怎么去掉呢 HOT 1
- 更新了1.4.7之后,在瀑布流布局会有cell布局的残影。 HOT 2
- 最新版本ZLCollectionViewBaseFlowLayout里重写了layoutAttributesForItemAtIndexPath HOT 3
- 在 swift 使用 ZLCollectionViewVerticalLayout 这个的填充 FillLayout 布局 布局错误 HOT 4
- 列布局 ColumnLayout, 纵向 item 排列问题 HOT 6
- 瀑布流布局有bug,数据源多以及复杂情况下瀑布流最后几个X不对 HOT 9
- 填充式布局,存在严重的性能问题。 HOT 2
- 崩溃 [NSObject allocWithZone:]: attempt to allocate object of class 'ZLCollectionViewLayoutAttributes' failed HOT 1
- cell初始化两次怎么 HOT 1
- 关于section Decoration view HOT 1
- 百分比布局下,设置小数比例无效! HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zlcollectionview.