Book Image

Mastering Cross-Platform Development with Xamarin

By : Can Bilgin, Miljenko Cvjetko, Paulo Ortins, Robert Hellestrae, Craig Dunn
Book Image

Mastering Cross-Platform Development with Xamarin

By: Can Bilgin, Miljenko Cvjetko, Paulo Ortins, Robert Hellestrae, Craig Dunn

Overview of this book

The main goal of this book is to equip you with the required know-how to successfully analyze, develop, and manage Xamarin cross-platform projects using the most efficient, robust, and scalable implementation patterns. This book starts with general topics such as memory management, asynchronous programming, local storage, and networking, and later moves onto platform-specific features. During this transition, you will learn about key tools to leverage the patterns described, as well as advanced implementation strategies and features. The book also presents User Interface design and implementation concepts on Android and iOS platforms from a Xamarin and cross-platform perspective, with the goal to create a consistent but native UI experience. Finally, we show you the toolset for application lifecycle management to help you prepare the development pipeline to manage and see cross-platform projects through to public or private release.
Table of Contents (19 chapters)
Mastering Cross-Platform Development with Xamarin
About the Authors
About the Reviewers

Data in mobile applications

The term "data" can refer to different types of information and storage locations in mobile app development. It can be used to describe a volatile state that is created and destroyed each time a view in the application is used, or it might refer to persisted settings and configuration information that are required to run the application, or even the data stored in the local filesystem. Each type of data is created and persisted or destroyed throughout the lifecycle of the application or a view in the application. We can talk about four distinct groups for this discussion.

Each data type is stored and accessed from different locations and each location has its own unique restriction and access models.

Data type storage locations


Mobile applications are generally stateful. Transient data that is used to visualize items on the UI or the data created by the user of the application falls into this category. The purpose of state is to maintain a consistent app experience...