Book Image

Xamarin 4 By Example

By : Engin Polat, Mark Radacz
Book Image

Xamarin 4 By Example

By: Engin Polat, Mark Radacz

Overview of this book

The mobile app market is increasing exponentially every year. Xamarin Studio with its modern and powerful IDEs makes creating applications a lot easier by simplifying the development process. Xamarin will allow you and your team to create native applications by taking advantage of one of the most evolved programming language in the world: C#. This book will provide you with the basic skills you need to start developing mobile apps using C# and Xamarin. By working through the examples in each chapter, you will gain hands-on experience of creating a complete app that is fully functional by all means. Finally, you will learn to publish the app you created on the app market. Each project in this book will take you one step closer to becoming a professional app developer.
Table of Contents (16 chapters)
Xamarin 4 By Example
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
7
Monkey Puzzle Game – Processing Images

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 will work together like three teams of people, where the Model groups will have the skills of "what", the ViewModel groups the skills of "when" and the View groups the skills of "how" to present a result to the final user.

Tip

Every time we find...