Click here to Skip to main content
12,290,930 members (61,138 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


31 bookmarked

MvvmCross - v3 - Writing a first app

, 22 Mar 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
MvvmCross - A CrossPlatform MVVM Sample
This is an old version of the currently published tip/trick.


MvvmCross is a truly cross-platform MVVM C# Framework.

This series of articles will walk you through the use of MvvmCross to produce a first simple app - a TipCalculator.

Beyond this first walkthrough, there are many other things that MvvmCross can do - but this article will just stick to the basics for now!


  • MvvmCross is now 18 months old.
  • This article is about v3 - code-named Hot Tuna.

Using the Code

The code for this article can be found here.

Setting up MvvmCross v3 is quite awkward at the moment - you need to setup Microsoft SDKs, Xamarin 2.0 products and some strange Portable Class Library (PCL) hacks.

This setup is documented here.

This setup is changing in the next few weeks - official Xamarin PCL support is coming - I will update this article when the new simpler steps arrive.

The Target

In this first Model-View-ViewModel project, we’ll aim to create a simple single screen cross-platform application for calculating the tip at a restaurant.

Here's a sketch of where we hope to end up:

The goals of this first application are all about introducing:

  1. the general structure of MvvmCross applications
  2. some of the code elements required in all MvvmCross applications
  3. how data-binding support on Xamarin.Android and Xamarin.iOS (the products formerly known as Mono for Android and MonoTouch)

Within this guide, we won't attempt to provide any introduction to the Apple, Google, Microsoft, and Xamarin products and platforms - there are plenty of guides available already for all of those. Instead, we'll focus instead on pure, unadulterated MvvmCross Nirvana.

The Articles

  • MvvmCross TipCalc - Step 1 Creating the Core Portable Application
  • MvvmCross TipCalc - Step 2 Creating an Android UI
  • MvvmCross TipCalc - Step 3 Creating an iOS UI
  • MvvmCross TipCalc - Step 4 Creating a Windows Phone UI
  • MvvmCross TipCalc - Step 5 Creating a Windows Store UI
  • MvvmCross TipCalc - Step 6 Creating a WPF UI
  • MvvmCross TipCalc - A Recap


  • 22nd March 2013 - First submission.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer Cirrious Ltd
United Kingdom United Kingdom
Developing software since 1982. Currently engrossed in both cloud and mobile technologies. Currently spending far too much time on MvvmCross... and loving every second of it Smile | :)

You may also be interested in...

Comments and Discussions

Discussions posted for the Published version of this article. Posting a message here will take you to the publicly available article in order to continue your conversation in public.
GeneralMy vote of 5 Pin
bbqchickenrobot24-Jul-13 10:23
memberbbqchickenrobot24-Jul-13 10:23 
GeneralMy vote of 5 Pin
motif827-Mar-13 20:36
membermotif827-Mar-13 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160518.1 | Last Updated 22 Mar 2013
Article Copyright 2013 by slodge
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid