Mobile Client

TH22 Building Cross-Platform C# Apps with a Shared UI Using Xamarin.Forms

03/16/2017

3:15pm - 4:30pm

Level: Intermediate to Advanced

Nick Landry

Senior Technical Evangelist

Microsoft

Building mobile apps with a native UI across multiple platforms is hard. To build an iOS app UI, you need Cocoa Touch, the UIKit and Objective-C (or Swift). To build an Android app UI, you need XML layouts, widgets and Java activities. The Windows 10 Universal App Platform lets you build XAML UIs with C# or VB as the code behind. Xamarin is a great platform from Microsoft to share non-UI code in your mobile apps, but what about the UI? This session explores how you can build cross-platform applications for iOS, Android, and Windows 10 devices using C#. Assuming you're already familiar with the fundamentals of Xamarin, you'll dive right into the design and implementation of a shared UI with Xamarin.Forms. You'll explore how Xamarin embraced XAML and extended it with its own cross-platform widgets, how to navigate and animate, and how to tailor the shared UI to take advantage of platform-specific features. You'll also explore performance considerations and discuss best practices on when to choose a shared UI versus a custom UI.

You will learn:

  • About the basic principles of native development for iOS, Android, and Windows 10
  • How to build a shared UI using XAML and Xamarin.Forms
  • How to customize a shared UI to take advantage of platform-specific features