O'Reilly logo

Xamarin in Action: Creating native cross-platform mobile apps by Jim Bennett

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

Chapter 3. MVVM—the model-view–view model design pattern

This chapter covers

  • A more detailed look at what’s in the model, view model, view, and binding layers
  • How a view model provides cross-platform UI logic by modeling state and behavior
  • Using property-changed notifications
  • Using commands
  • How the binding layer glues the view and view-model layers together
  • Value conversion in the view model and value converters
  • What happens in the application layer
  • Navigation patterns for MVVM apps

In the previous chapter we looked at the MVVM UI design pattern, before creating our first cross-platform example app. We’re going to examine that example app in a lot more detail, but first we need to look at the layers in an MVVM app in more depth. To do this ...

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