You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to do composition over inheritance for anything MVVM related, such that consumers of MvvmCross can choose to use their own implementation of INotifyPropertyChanged, use CommunityToolkit or perhaps ReactiveUI or whatever they feel like.
Instead of being forced to inherit from MvxViewModel or similar, just because it contains some lifecycle methods that are convenient.
To receive the lifecycle callbacks, could also be a composition detail, such as inheriting from a IMvxViewModelLifecycle interface.
The text was updated successfully, but these errors were encountered:
Cheesebaron
changed the title
Look into replacing MvxViewModels and derivatives with CommunityToolkit
Look into replacing MvxViewModel and derivatives
Jul 14, 2022
Instead of replacing, it could be an addition.
So basically let MvvmCross provide its own implementation as it does now and let it replace with your own if needed.
I would love to do composition over inheritance for anything MVVM related, such that consumers of MvvmCross can choose to use their own implementation of INotifyPropertyChanged, use CommunityToolkit or perhaps ReactiveUI or whatever they feel like.
Instead of being forced to inherit from MvxViewModel or similar, just because it contains some lifecycle methods that are convenient.
To receive the lifecycle callbacks, could also be a composition detail, such as inheriting from a IMvxViewModelLifecycle interface.
The text was updated successfully, but these errors were encountered: