adospace / reactorui-maui

MauiReactor is a MVU UI framework built on top of .NET MAUI
MIT License
586 stars 49 forks source link

EditableCollectionView in TestApp sample project doesn't update #75

Closed Dimension4 closed 1 year ago

Dimension4 commented 1 year ago

I tried to figure out why my CollectionView doesn't update, despite me following the docs, so I've tried to run the MauiReactor.TestApp sample project on Windows Desktop, and that one also doesn't update the CollectionView when I click "Add Item" or "Remove Item".

I'm using Reactor.Maui version 1.0.124

adospace commented 1 year ago

Unfortunately, .NET MAUI CollectionView itself seems to have strange behaviors under Windows. Internally, MauiReactor just set the ItemSource property to a collection that implements INotifyCollectionChanged and everything works on other platforms. Under Windows, it seems to require a full-blow ObservableCollection object. I guess this behavior will be corrected in future releases but for now, I consider this a bug in MauiReactor and I'm going to fix this in the next version 125. Thanks for reporting it.