MVVM and Data Binding
In this chapter, we will take a look at the Model-View-ViewModel (MVVM) pattern, the MVVM elements that are offered with the Xamarin.Forms toolkit, and how we can expand on them to truly take advantage of the power of the pattern. As we dig into these topics, we will apply what we have learned to the TripLog app that we started building in Chapter 1, Getting Started.
In this chapter, we will cover the following topics:
- Understanding the MVVM pattern and data binding
- Adding the MVVM pattern and data binding to the Xamarin.Forms mobile app created in Chapter 1, Getting Started
- Adding client-side validation to the Xamarin.Forms mobile app created in Chapter 1, Getting Started
Before we start applying the MVVM pattern to our app we will review the basics of the pattern in the following section.