O'Reilly logo

Using MVVM Light with your Xamarin Apps by Paul Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Paul Johnson 2018

Paul Johnson, Using MVVM Light with your Xamarin Apps, https://doi.org/10.1007/978-1-4842-2475-5_1

1. Installing MVVM Light

Paul Johnson

(1)Merseyside, UK

In order to use MVVM Light within your Xamarin application, you must first add it into the application. The process is different depending on whether you are doing this on a Mac (with Visual Studio for Mac) or Visual Studio. The reason for this is simple—on a Mac, you are not able to create for Windows Mobile. This may not seem like a big difference, but when setting up a project with MVVM Light, it is.

In this chapter, we’ll create our project as well have a brief look at the two important files provided by MVVM Light: ViewModelLocator.cs and MainViewModel.cs.

Creating Your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required