O'Reilly logo

Mastering Xamarin UI Development by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Adding Location-Based Features within Your App

In our previous chapter, we looked at how we can apply what we already know about the MVVM design pattern, and how we can navigate between our ViewModels, by creating a navigation service C# class that acts as the navigation service for our app, using the Xamarin.FormsDependencyService class.

In this chapter, you'll learn how to go about incorporating platform-specific features within the TrackMyWalks app, depending on the mobile platform. You'll learn how to create a C# class, which will act as the Location Service for our app, as well as creating a IWalkLocationService interface class file, which will include a number of class methods that both our iOS and Android platforms will inherit, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required