Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop ItemsSourceView using a cached size. #4436

Merged
merged 1 commit into from
Aug 4, 2020

Commits on Aug 4, 2020

  1. Stop ItemsSourceView using a cached size.

    It can mean that `Count` is out-of-date with regards to the inner collection if it's accessed in a collection changed handler before `OnItemsSourceChanged` is fired.
    
    It's never been clear to me why ItemsSourceView caches the size; I suspect it's due to the performance characteristics of WinRT and so I think it can be safely removed in Avalonia.
    
    Fixes #4409
    grokys committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    2f39eb1 View commit details
    Browse the repository at this point in the history