async void OnListViewItemSelected(object sender, SelectedItemChangedEventArgs e) { var monkey = ((ListView)sender).SelectedItem as Monkey; if (monkey != null) { var page = new MonkeyDetailsPage(); page.BindingContext = monkey; await Navigation.PushAsync(page); } }
async void OnListViewItemSelected(object sender, SelectedItemChangedEventArgs e) { var monkey = ((ListView)sender).SelectedItem as Monkey; if (monkey != null) { // Remove delimiters monkey.Name = monkey.Name.Replace("[", string.Empty).Replace("]", string.Empty); // Navigate var page = new MonkeyDetailsPage(); page.BindingContext = monkey; await Navigation.PushAsync(page); } }