public override void BehindTapped(object sender, EventArgs e) { if (HashMap == null || HashMap.GetIndex(2) == -1) { return; } DisableGeolocator(); ToIssoView = true; var issoViewActivity = new IssoViewActivity(ListOfIssos[HashMap.GetIndex(2)].CIsso); Navigation.PushAsync(issoViewActivity); }
public override async void BehindTapped(object sender, EventArgs e) { if (Tapped) { return; } Tapped = true; if (HashMap != null && HashMap.GetIndex(2) != -1) { DisableGeolocator(); ToIssoView = true; var issoViewActivity = new IssoViewActivity(ListOfIssos[HashMap.GetIndex(2)].CIsso); await((MasterDetailPage1)Application.Current.MainPage).Detail.Navigation.PushAsync(issoViewActivity); Tapped = false; } }