From fc487cbbf86fe38071c2ca97f087fdf1f980bfab Mon Sep 17 00:00:00 2001 From: BDisp Date: Fri, 31 May 2024 15:07:38 +0100 Subject: [PATCH] Proving the Source can be derived from an IList. --- UnitTests/Views/ListViewTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitTests/Views/ListViewTests.cs b/UnitTests/Views/ListViewTests.cs index 3fbc60de3..419c4012d 100644 --- a/UnitTests/Views/ListViewTests.cs +++ b/UnitTests/Views/ListViewTests.cs @@ -841,8 +841,8 @@ Item 6", var added = 0; var removed = 0; var otherActions = 0; - ObservableCollection source1 = []; - var lv = new ListView { Source = new ListWrapper (source1) }; + IList source1 = []; + var lv = new ListView { Source = new ListWrapper (new ( source1)) }; lv.CollectionChanged += (sender, args) => {