Comments (8)
Do you mean self-sizing cells?
from collectionviewshelflayout.
Yes, Like What I do, I use flow layout's sizeForcell method and there I get the image size which will be there in cell from API and from size of image, I calculate the size and return however with this I can not access that method.
Could you please help
from collectionviewshelflayout.
Is it possible to have different cell heights per section?
Ex.
Section1 = 172,
Section2 = 203,
Section3 = 141
from collectionviewshelflayout.
We do not support the variable cell size yet. If you are interested, you can implement that feature and open a PR to me
from collectionviewshelflayout.
@pitiphong-p I've worked around the codebase for a while but was unsuccessful. The protocol for flow layout, when applied to your code and my view controller never gets run.
If you can give me some hints on where you think the problem lies, I would be more than happy to work on it again.
Thanks 3P.
from collectionviewshelflayout.
@datureezy Sorry for this late reply. I was very busy at the time you posted this comment and I forgot to reply to you. Please accept my apology.
Since there are a few requests on this feature, I think I'll try to implement it in the next version (which I'm about to start to work on it).
from collectionviewshelflayout.
@datureezy Sorry for this late reply. I was very busy at the time you posted this comment and I forgot to reply to you. Please accept my apology.
Since there are a few requests on this feature, I think I'll try to implement it in the next version (which I'm about to start to work on it).
from collectionviewshelflayout.
I have implemented this feature and published it. Please try with the latest release version 0.6.2
from collectionviewshelflayout.
Related Issues (12)
- Centered Paging (snap cell to center) HOT 2
- If I can have sectionHeadersPinToVisibleBounds properties HOT 1
- Add disclose indicator HOT 11
- Hiding Some Section Headers HOT 1
- ScrollView stop scrolling on tap
- Headers not updating when on `insertSections`
- reload collection
- Great job! HOT 13
- Different sizes for different rows HOT 4
- Bad instruction HOT 4
- cells not appearing HOT 1
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 collectionviewshelflayout.