Getting started with mvvmcross
This section provides an overview of what mvvmcross is, and why a developer might want to use it.
It should also mention any large subjects within mvvmcross, and link out to the related topics. Since the Documentation for mvvmcross is new, you may need to create initial versions of those related topics.
Installation or Setup
Detailed instructions on getting mvvmcross set up or installed.
Installing mvvmcross with nugget:
Search for mvvmcross in the "Manage Nugget Packages" window.
Installing mvvmcross with Package Manger Console:
- Make sure to install it on both your PCL (Portable Class Library) and you application project.
As the nugget finishes its installation, notice that you have two new directories named "ToDo-MvvmCross" in your PCL and the application Project, follow the instructions step by step.
If you done everything right, you can compile and run your application. You should see this "Hello MvvmCross" screen:
Mvvmcross is an open source MVVM platform that comes to solve our problems while developing cross platform applications (such as Android, Windows Phone, IOS, etc...).
The main problem is, that every platform has its own specifics, but the business logic of your application is likely to be the same on each platform.
For instance, if you develop your application for Android and Windows Desktop - your mobile project will have a vibration API while desktop will not. But both desktop and mobile project will have the same authentication mechanism.
That’s where Mvvmcross becomes very handy.
The main feature of mvvmcross is that you are separating your logic not only from the views (as in MVVM and MVC patterns), but from specific platform implementation while reusing logic code between platforms.
Your business logic will be implemented in your PCL (Portable Library Class), and each platform can reference it, while implementing its native side accordingly.
Check out the mvvmcross manifesto:
Mvvmcross on Github:
For those that are completely new to MVC/MVVM concept, I suggest you visit these links: