Book Image

Mastering Cross-Platform Development with Xamarin

Book Image

Mastering Cross-Platform Development with Xamarin

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
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Components


Xamarin.Forms components can be categorized into three main groups according to their position in the view hierarchy and their usage.

Pages

Conceptually, pages are navigational elements. They provide a general hierarchical organization of the view elements whilst also acting as a container for the layouts. There are various page types that can be inherited and implemented or designed using XAML markups.

Tabbed page

When discussing the top-level navigation pages in the previous chapter, we mentioned several controls that can provide horizontal navigation throughout top-level pages. Using Xamarin.Forms, TabbedPage allows developers to create these horizontal navigational view elements. TabbedPage generates a tabbed action bar and associated activities on Android. On Windows Phone, the generated view contains a pivot control. Finally on iOS, generated view contains a tab bar and associated views.

TabbedPage contains the navigation pages as its children (that is, the Children property...