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:
- First, expand the TrackMyWalks.Android solution project that is contained within ...