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

Rendering Model


Xamarin.Forms has common APIs to describe cross-platform mobile user interfaces.

The description of the UI is categorized by pages, layouts, and controls. We will explore each one of them in this chapter.

Each page, layout, and control is rendered differently on each platform using a Renderer class.

A renderer creates a native control corresponding to the Xamarin.Forms representation, arranges it on the screen, and adds the behavior specified in the shared code.

In this chapter, we will implement our own custom Renderer class to customize the appearance and behavior of a control.

Custom renderers for a given type can be added to one application project to customize the control in one platform while allowing the default behavior on other platforms.

Custom renderers can be added to each application project to create a different look and feel on iOS, Android, and Windows Phone.