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