private void OnDrawStatusChanged(object sender, DrawStatusChangedEventArgs e)
{
// Make sure that the UI changes are done in the UI thread
RunOnUiThread(() =>
{
// Show the activity indicator if the map is drawing
if (e.Status == DrawStatus.InProgress)
{
_activityIndicator.SetMessage("Drawing is in progress");
_activityIndicator.Show();
}
else
_activityIndicator.Hide();
});
}