mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Proving the Source can be derived from an IList<T>.
This commit is contained in:
@@ -841,8 +841,8 @@ Item 6",
|
||||
var added = 0;
|
||||
var removed = 0;
|
||||
var otherActions = 0;
|
||||
ObservableCollection<string> source1 = [];
|
||||
var lv = new ListView { Source = new ListWrapper<string> (source1) };
|
||||
IList<string> source1 = [];
|
||||
var lv = new ListView { Source = new ListWrapper<string> (new ( source1)) };
|
||||
|
||||
lv.CollectionChanged += (sender, args) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user