Skip to content

Commit

Permalink
Use variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterjanDeClippel committed Dec 30, 2024
1 parent 67eede8 commit 8bcebaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<IsPackable>true</IsPackable>
<PackageId>MintPlayer.ObservableCollection</PackageId>
<Version>9.3.1</Version>
<Version>9.3.2</Version>
<Description>
Extended version of System.Collections.ObjectModel.ObservableCollection. This class allows you to:
1) Use AddRange, invoking the CollectionChanged event only once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
if (isCollectionView)
{
var methods = handler.Target.GetType().GetMethods(BindingFlags.Public | BindingFlags.NonPublic);
Console.WriteLine(methods.Length);

// Call the Refresh method if the target is a WPF CollectionView
RunOnMainThread(
Expand Down

0 comments on commit 8bcebaa

Please sign in to comment.