[Closed] ObservableObject (and other ObjectModel things) #234
Replies: 4 comments 1 reply
-
Hey @GalaxiaGuy we don't pretend to support mvvm features (ObjectModel, ObersavableRangeCollection, etc) those will be included on CommunityToolkit.MVVM or .NET MAUI (like the weak event manager). |
Beta Was this translation helpful? Give feedback.
-
In short, no we will not be adding
Our recommendation is to use the |
Beta Was this translation helpful? Give feedback.
-
Just FYI regarding |
Beta Was this translation helpful? Give feedback.
-
Closed as answered. |
Beta Was this translation helpful? Give feedback.
-
Is there a plan to add things from here:
https://github.com/xamarin/XamarinCommunityToolkit/tree/main/src/CommunityToolkit/Xamarin.CommunityToolkit/ObjectModel
Or instead, possibly direct people to the dotnet Community Toolkit, which has similar things:
https://github.com/CommunityToolkit/dotnet/tree/main/CommunityToolkit.Mvvm/ComponentModel
I think the second idea makes more sense since duplicating similar functionality seems a shame. However, the implementation of some things differ in important ways. The once I'm most interested in is that the dotnet Community Toolkit
ObservableObject
does not use a weak event forPropertyChanged
.I have opened an issue in that repo about it (and the fact that they don't have a
WeakEventManager
.CommunityToolkit/dotnet#80
(I also seem to discussing this in lots of repos now, but I think getting the best solution with things in the right place probably needs coordination between repos anyway).
Beta Was this translation helpful? Give feedback.
All reactions