MVVM pattern a quick overview of theory

This book is not about theories. We will explore the world of multiplatform development by examples, making our ideas reality and learning "how to" on the go. The rest of the book will focus on this, but it worth spending a moment to consider the main ideas behind the MVVM pattern and its structure.

The idea behind the MVVM pattern is to separate the data and its logic from the user interface. To do that, we will group the definitions of the entities and the logic to store them in a library we called Model and all the UI related features in another library called View. To manage the communication between those two groups, called application layers, we will develop a third library called ViewModel:

Our components ...

Get Xamarin 4 By Example 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.