Chapter 4. Hello again, MVVM—understanding and enhancing our simple MVVM app

This chapter covers

  • A detailed look into the code of the Hello Cross-Platform World app from chapter 2
  • MvvmCross classes that provide a base implementation of a view model, a command, and some cross-platform app logic
  • How to use MvvmCross to bind iOS and Android views to the view model
  • Using Xamarin plugins to add cross-platform wrappers around platform-specific functionality
  • Using inversion of control to loosely couple your code for unit testing
  • Creating and binding a command
  • Adding code to the view model to make your app speak to you

4.1. A deeper dive into our Hello Cross-Platform World app

Now that we’ve covered MVVM in detail, it’s a good opportunity to review ...

Get Xamarin in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.