Which is the preferred MVVM framework for Xamarin development ? -


which preferred mvvm framework xamarin cross platform development? suggestions experience helpful.

thanks!

traditional xamarin.ios / xamarin.android

there many mvvm frameworks available xamarin.ios , xamarin.android development: mvvmcross, mvvmlight, prismmvvm, reactiveui.

i've had success using reactiveui mvvm , splat ioc.

the best feature reactiveui doesn't require viewmodel navigation. may think viewmodel-based navigation thing, can make life more difficult when implementing complex navigation patterns. ios , android have view-based navigation built-in, , recommend leveraging instead of trying re-create wheel using viewmodel-based navigation.

xamarin.forms

you mentioned in comments you're not using xamarin.forms, wanted include in case developer has similar question xamarin.forms.

don't use mvvm framework xamarin.forms.

xamarin.forms has mvvm tooling included. i've seen many developers over-complicate xamarin.forms projects implementing heavy frameworks mvvmcross xamarin.forms without receiving benefit.

xamarin.forms doesn't include ioc container, , may want add 1 project: tinyioc, autofac, ninject, splat.

i have had success using splat.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -