Virtualizing Observable Collection #550
huynhsontung
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In an article about ListView and GridView performance, Microsoft outlined two methods of data virtualization: incremental data virtualization and random access data virtualization.
We have had support for the former with IncrementalLoadingCollection but not much for the latter. Random virtualization would allow us to have a collection count independent of the actual loaded items in the collection. For example, a ListView with thousands of items needs to display the scrollbar appropriately. The ListView can be populated with placeholders without having to load all items until they are brought into view.
I am aware that you can achieve the same result with some abstraction for the item and listening for the UI events. But maybe it's still worth streamlining the process?
Related resources:
dotnet/runtime#17969 (closed due to inaction)
anagram4wander/VirtualizingObservableCollection (no longer maintained and has no license)
Beta Was this translation helpful? Give feedback.
All reactions