Code Monkey home page Code Monkey logo

Comments (8)

pitiphong-p avatar pitiphong-p commented on September 15, 2024

Do you mean self-sizing cells?

from collectionviewshelflayout.

 avatar commented on September 15, 2024

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.

 avatar commented on September 15, 2024

Is it possible to have different cell heights per section?

Ex.
Section1 = 172,
Section2 = 203,
Section3 = 141

from collectionviewshelflayout.

pitiphong-p avatar pitiphong-p commented on September 15, 2024

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.

 avatar commented on September 15, 2024

@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.

pitiphong-p avatar pitiphong-p commented on September 15, 2024

@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.

pitiphong-p avatar pitiphong-p commented on September 15, 2024

@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.

pitiphong-p avatar pitiphong-p commented on September 15, 2024

I have implemented this feature and published it. Please try with the latest release version 0.6.2

from collectionviewshelflayout.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.