Creating data-driven views
The MVVM architecture, as you saw in Chapter 4, Developing Mobile Applications with Xamarin, mainly concentrates on data and how to decouple data from views. However, this decoupling does not mean the views and controls that are created should not respond to data content changes, either as a result of user input or state data being updated. In order to facilitate the propagation of data models, from the view model to the view, as well as between views, data bindings, and other data-related Xamarin.Forms mechanisms are crucial tools.
In this section, we are going to demonstrate various features that allow us, as developers, to retrieve, transform, and update the domain data without directly referencing these data points. First, we will revise our knowledge about data binding fundamentals. We will then move on to value converters and how we can use them in conjunction with data bindings. We will also look at data triggers and visual state, as well as how...