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 May 1, 2024. It is now read-only.
If you have lots of elements in a collection, let’s say chat messages, which is a more performant option: using a CollectionView, or wrapping a bindable StackLayout in a ScrollView?
I am not using CollectionView in my project atm at all because it is still too buggy.
Would a CollectionView with recycled elements be a better option? If so, do the elements get reused if the entire collection changes, or only when smaller edits happen (add, remove etc.)?
Or is a bindable StackLayout an equivalent option here?
The documentation doesn’t mention any of these so I have to ask here.
Thank you for insights!
The text was updated successfully, but these errors were encountered:
Bindable StackLayout is ok if the number of items is low. Otherwise you wont hit some performance issue soon
@StephaneDelcroix Thank you for the information, I appreciate it! Maybe the bindable layout docs would benefit of the additional information you just shared as there may be other people who need this information also? Just a thought!
I tried my hardest to start using the collection view but these issues are preventing me from transitioning to it: #12554, #12555, #12576. The issues are just too large for me to use it atm, and I'm very concerned about performance especially in my chat view as I'm forced to use bindable layouts until those are fixed, so I'm in a bit of a pinch here. What would you advice -- do you think those fixes will its way into a release any time soon? And if not what would you advice to do in the interim?
Thank you again for insights!!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi. This is a question and not a bug report.
If you have lots of elements in a collection, let’s say chat messages, which is a more performant option: using a CollectionView, or wrapping a bindable StackLayout in a ScrollView?
I am not using CollectionView in my project atm at all because it is still too buggy.
Would a CollectionView with recycled elements be a better option? If so, do the elements get reused if the entire collection changes, or only when smaller edits happen (add, remove etc.)?
Or is a bindable StackLayout an equivalent option here?
The documentation doesn’t mention any of these so I have to ask here.
Thank you for insights!
The text was updated successfully, but these errors were encountered: