Simple play icon Course

Working with Native Features in Xamarin.Forms 4 Applications

by Chris Miller

Xamarin.Forms will let you create applications for multiple platforms using a shared codebase. This course will teach you how to use multiple techniques for accessing native platform features that are not directly exposed to the Xamarin.Forms.

What you'll learn

When working in Xamarin.Form there are multiple ways to access native features. In this course, Working with Native Features in Xamarin.Forms Applications, you'll learn how to be able to access features specific to a platform from your Xamarin code.

First, you will explore how to use Xamarin.Essentials to access settings and components that are common to multiple platforms.

Next, you will see how to use the Device class to access device physical characteristics and make threadsafe UI calls from background threads. Then, you will delve into how to use the DependencyService class to access native features and extend existing functionality at the platform level.

Finally, you will discover how to use Dependency Injection with the Microsoft.Extensions.DependencyInjection library as another way to access platform specific features.

When you have finished the course, you will have the skills needed to access native features for your applications.

About the author

Chris is a Microsoft MVP, a Xamarin Certified Mobile Developer for iOS and Android, and the leader of the Tech Valley .NET User Group. He has been developing on various platforms for way too long to detail, but currently works and writes about C# programming using Microsoft and Xamarin tools. For the last decade or so, Chris has worked for Tyler Technologies, in the school transportation market.

Ready to upskill? Get started