O'Reilly logo

Mastering Xamarin UI Development - Second Edition 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

Summary

In this chapter, you learned how to incorporate platform-specific features within the TrackMyWalks application, dependent on the mobile platform that is being run, as well as how to incorporate the Xam.Plugin.Geolocator NuGet package within the shared-core project solution.

You also learned how to create a LocationService Interface and Class, which included a number of class instance methods that our iOS and Android platforms will use to handle location-based features, like obtaining current GPS coordinates and handling location updates in the background on the device. You then updated the WalkEntryPageViewModel and WalkDistancePageViewModel classes to allow location-based features to happen and created a CustomMapOverlay class that ...

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