Click here to Skip to main content
13,295,178 members (68,530 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


9 bookmarked
Posted 23 Mar 2013

MvvmCross TipCalc - A Recap

, 23 Mar 2013
Rate this:
Please Sign up or sign in to vote.
Recap at the end of the TipCalc tutorial for MvvmCross v3 - Hot Tuna


This article is a recap at the end of the TipCalc tutorial for MvvmCross v3 - Hot Tuna!

The Story Was...

Over the course of these articles, we've covered the complete TipCalc app on 5 platforms from one shared PCL code library using MVVM.


I hope this was simple and easy to follow.

Just to recap what we did:

  • For the core PCL library, we:
    • created a Profile 104 library
    • added some MvvmCross PCL libraries
    • added our services - the Calculator
    • added our TipViewModel which exposed properties
    • added our App which wired the services together and defined an IMvxAppStart
  • For each platform, we generally went through a process like:
    • created a platform specific project
    • added some MvvmCross PCL libraries
    • added some MvvmCross platform specific libraries
    • added a Setup class which would initialise everything
    • modified the platform-specific application to call Setup
    • created a Views folder
    • added a platform specific View
    • changed that View base class to something beginning with Mvx
    • added a public new TipViewModel ViewModel to link the View to the ViewModel
    • modified the XML for that View to add the UI fields
    • modified those UI fields to add databinding to the ViewModel properties
    • pressed 'Run' Smile | :)
    • considered some ways that the UI could be improved using platform-specific UI techniques

Generally, these same steps are what you'll follow for each MvvmCross application you want to make.

We'll cover more advanced topics in future articles.

Thanks for reading.




The Articles


  • 22nd March, 2013 - First submission 


This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


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

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 24 Mar 2013
Article Copyright 2013 by slodge
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid