You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, good job on this project, it looks really cool and I am looking forward to using it.
I tried to use it with my collection view in which I’m using self-sizing cells, simply droppping in BouncyLayout() in place of the existing UICollectionViewFlowLayout(), and setting a random .estimatedItemSize before assigning it to the collection view. The self-sizing behaviour doesn’t remain, however, and the cells all get resized to a fixed size.
My project is currently in a haphazard state so I can’t upload the code; however I’m using IGListKit and was able to reproduce this effect with their provided self-sizing cells example.
Do you plan on adding support for self-sizing cells to BouncyLayout? The Instagram people themselves had a bunch of issues with implementing it, so I would understand if you don’t plan on doing so; their codebase would be a great help if you did, however.
Thanks!
The text was updated successfully, but these errors were encountered:
Likewise, I am having issues with self sizing cells with BouncyLayout, specifically with rotation where several cells are not displayed after a rotation - scrolling up and down eventually ends up displaying the aforementioned cells. Replacing BouncyLayout by a regular CollectionViewFlowLayout works fine.
specifically, the issue is with the implementation of layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]?
Hi there, good job on this project, it looks really cool and I am looking forward to using it.
I tried to use it with my collection view in which I’m using self-sizing cells, simply droppping in
BouncyLayout()
in place of the existingUICollectionViewFlowLayout()
, and setting a random.estimatedItemSize
before assigning it to the collection view. The self-sizing behaviour doesn’t remain, however, and the cells all get resized to a fixed size.My project is currently in a haphazard state so I can’t upload the code; however I’m using IGListKit and was able to reproduce this effect with their provided self-sizing cells example.
Do you plan on adding support for self-sizing cells to BouncyLayout? The Instagram people themselves had a bunch of issues with implementing it, so I would understand if you don’t plan on doing so; their codebase would be a great help if you did, however.
Thanks!
The text was updated successfully, but these errors were encountered: