Forum Xamarin Xamarin.Forms

MVVM Advantages

EddieConnerEddieConner USMember ✭✭

What are the advantages/disadvantages of using MVVM frameworks like FreshMVVM and MVVMCross vs the standard Xamarin.Forms?



  • AdamPAdamP AUUniversity ✭✭✭✭✭

    @EddieConner - Xamarin Forms includes its own Binding and Dependency Injection service. They are fast and very light but not very feature rich.

    FreshMVVM extends off Xamarin Forms to include a number of helpers. It includes a TinyIoc fork for more comprehensive IoC.

    MVVMLight includes its own IoC container (SimpleIoC). MVVM light has been around for years (before Xamarin). It has a number of other helpers and I have used this in many projects but was never originally designed for Xamarin Forms.

    MVVMCross is also something that has been around before Xamarin and its a massive project, containing a lot of binding and other helpers right from the ground up. If you have used MVVMCross before you might use it in Xamarin but I honestly think its a bit heavy for Xamarin usage depending upon your scenario.

  • EddieConnerEddieConner USMember ✭✭

    Thank you for the explanation of the different options.

Sign In or Register to comment.