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 ...

Get Xamarin in Action: Creating native cross-platform mobile apps now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.