Hands-On Mobile Development with .NET Core
上QQ阅读APP看书,第一时间看更新

Creating data-driven views

MVVM architecture, as you saw in the Chapter 4Developing 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 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 view, as well as between views, data bindings and other data-related Xamarin.Forms mechanisms are crucial tools.