In the previous chapter, we created a cross-platform Xamarin.Forms application for both iOS and Android platforms, and then created a data model that stored information relating to walking trails used by our application. We then created a number of content pages using XAML that were populated with static data using our data model. Finally, we looked at how to use the navigation APIs included as part of the Xamarin.Forms platform to help navigate between each of the different content pages, before running the TrackMyWalks application within the iOS Simulator.
The Model-View-ViewModel (MVVM) architectural pattern was invented with the XAML in mind, which was created by Microsoft back in 2008. It is well-suited for use with the MVVM architectural pattern, as it enforces a separation of the XAML user interface from the underlying data model, through a class that...