Christoffer Winterkvist

Results 268 comments of Christoffer Winterkvist

Did a quick search and found this: https://link.medium.com/oj69yvGzoY Might be a good starting point for the implementation.

I think it has to do with how we explicitly set the size of the items. We should revisit this and reimplement it in a way that works with dynamic...

@zishanj I've started investigating how this could be implemented now, no ETA and no promises. Will post an updated when I have something more substantial to convey.

@zishanj I have a branch that you can try out here `feature/support-for-dynamic-sizes`. Take it for a spin and see how it works for you, I've done some testing using unit...

@zishanj Have you implemented preferredLayoutAttributesFitting on your cells?

@zishanj mind setting up a demo project that we can have access to? That would definitely speed things up. Did you try the preferred layout attributes approach? You can check...

Also, itemSize is not the same as estimated item size, try to set that explicitly after you create the layout. (We can definitely improve the init methods here).

@zishanj Can’t really help more than I have at the moment, on vacation with my family. Will have to revisit this at a later date. One thing that struck me...

@zishanj I pushed some new updates to the branch now that should support both dynamic width and height. What you return from `preferredLayoutAttributesFitting` on your cell will no take precedence...

Did some testing on that branch, seems like it still needs some work to get it right.