private async void HorizontalListView_SelectedItemChanged(object sender, System.EventArgs e) { if (sender is ConnectionViewModel) { ConnectionViewModel selected = (ConnectionViewModel)sender; model.Select(selected); LocationsPlanViewModel lpvm = new LocationsPlanViewModel(Navigation); LocationsSchemePage lsp = new LocationsSchemePage(lpvm); await Navigation.PushAsync(lsp); } }
private async Task LocationsTaped() { LocationsPlanViewModel lpvm = new LocationsPlanViewModel(Navigation); LocationsSchemePage lsp = new LocationsSchemePage(lpvm); await Navigation.PushAsync(lsp); }