With WPF I use "MVVM Light Toolkit from galasoft" but with Xamarin does it bring more functionality or simplicity to use a MVVM framework ?
And which framework is best all by being simple ?
I saw that there was "freshmvvm" but it seems that there are quite a few basic things.
WPF Application Framework (WAF)
MvvmCross is a cross-platform MVVM library that allows you to put a common PCL directly from xamarin. android and xamrin. ios.
There are many MVVM Frameworks available for Xamarin. iOS and Xamarin. Android development: MVVMCross, MvvmLight, PrismMVVM, ReactiveUI.
We can choose different architecture according to different requirements. If you're using Xamarin Forms, MVC makes no sense because XAML supports View Model binding. The Model-View-ViewModel (MVVM) pattern helps to cleanly separate the business and presentation logic of an application from its user interface (UI).
With WPF I use "MVVM Light Toolkit from galasoft" but with Xamarin does it bring more functionality or simplicity to use a MVVM framework ?
This part of the question is OK and I'll answer it, the rest is not and it is strictly prohibited here to ask which library is the best because there is no such thing as the best library.
Speaking of the above there is a major difference between WPF and Xamarin. You can't do some major things in WPF without passing some variables from the backend to the model which deifies the purpose of MVVM, and that's where MVVM libraries got in place, to resolve that. As this is unnecessary in Xamarin, they bring almost no value and a nice pile of problems.
I'll start by coding without an MVVM Framework at first, but I think I'll try FreshMvvm later. The latter seems to be the most suitable for my use. It is true that many things are done without needing the MVVM Framework with Xamarin.Form
a very good Xamarin.form project architecture MVVM/IOC... : https://github.com/dotnet-architecture/eShopOnContainers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With