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

Updating the TrackMyWalks.Android MainActivity

In this section, we need to make changes to the MainActivity class for our TrackMyWalks.Android project so that we can initialize our Xamarin.FormsMaps library, otherwise we won't be able to use any of the map features.

The MainActivity class begins immediately after your app launches. Once the main activity is running, it can launch other activities, which in turn can launch subactivities. When the application exits, it does so by terminating the main activity and any other activities terminate in a cascade form from within the main activity.

Let's take a look at how we can achieve this by following these steps:

  1. First, expand the TrackMyWalks.Android solution project that is contained within ...

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