Open jingkecn opened 11 months ago
Hello, 'jingkecn! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!
@Sergio0694 this sounds similar to an example you did in the MVVM Toolkit Sample App, eh?
Moving this to the dotnet repo as a feature request as it deals with IList
as the interface vs. anything to a specific framework.
@michael-hawker indeed, I did it with IList
to make it as common as possible, thanks for moving it to the dotnet repo.
@michael-hawker Any updates? ☺️
Describe the problem
This might not be quite requiring, but it will indeed help a lot in some cases where we need to update the entire list
ListViewBase.ItemSource
without blinking the UI.For example:
Each time we update the entire data list (with data binding or not), the UI will blink, this is not terrible but it would be better if we can have an auto diff tool to make it visually updated with only different elements.
Describe the solution
A helper extension
IList<T>.SyncWith(IList<T> another, IEqualityComparer<T> comparer = null)
could be an initial idea:Alternatives
No response
Additional info
No response
Help us help you
Yes, I'd like to be assigned to work on this item.