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
{{ message }}
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
I run this sample and it has a simple circle layout with 21 cell on a screen.
There is no way to reuse the cells because all cell are on the screen (all 21 instance of the cell have to be created in order to be displayed on the screen).
Cell reusing is comming into the play when your screen shows just a fraction of the data. Imagine that you have some data source with lots of data items, but your collection view (or table view) just shows a dozen of items, so when you scroll (if your collectionView layout allows you to do this) some cells will become invisible, so they can be reused by CollectionView.
With respect to the date of the question I tend to think that this answer is kind of irrelevant to you, so I just leave it here for historical reasons.
According to this guide from Xamarin's guide, I think the sample with SimpleCollectionView should reuses cell but it doesn't.
I ran the demo with flowLayout, it always call to AnimalCell' constructor to init new Cell instead of reuse from reusable cell.
The text was updated successfully, but these errors were encountered: