enisn / TreeView.Maui

A simple treeview control for MAUI
MIT License
38 stars 8 forks source link

View is not updated after adding/removing subnodes #7

Closed mlototchi closed 1 year ago

mlototchi commented 1 year ago

The collectionChanged event only of the root-nodes-collection causes an update of the view, but not the collections of the subnodes. Looking at the code, i guess it is because the invoking of a render-Method like in your TreeView Class is missing in the TreeViewNodeView Class

enisn commented 1 year ago

Yes, subnodes collection isn't ObservableCollection at the moment. I'll work on it