Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Slow when expanding #15

Open
georgekfoury opened this issue Aug 13, 2016 · 3 comments
Open

Slow when expanding #15

georgekfoury opened this issue Aug 13, 2016 · 3 comments

Comments

@georgekfoury
Copy link

georgekfoury commented Aug 13, 2016

I have around 100 items in the collectionview with picture and text. When opening a section, if there are 10,20 items in the expanded section it's fine. When it contains 100 it takes around 1.5 seconds which is laggy for the user. Any solutions? (Maybe because each time i expand, the whole collectionview loads?) Thank you!

@michaelkamphausen
Copy link
Contributor

Have you tested without creating and assigning the UIImage in each cell? Loading 100 images into memory is always slow.

@georgekfoury
Copy link
Author

Yes it is still slow, the problem is that the number of the cells is high. Is there any way not to load all of the cells on expanding? (not entering cellForRowAtIndexPath) Thank you

@michaelkamphausen
Copy link
Contributor

There is no way I am aware of.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants