public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var product = products[indexPath.Row]; var productScreen = new ProductScreen(product); controller.NavigationController.PushViewController(productScreen, true); }
void ViewSelectedProduct(object sender, MKMapViewAccessoryTappedEventArgs e) { var annotation = e.View.Annotation as ProductAnnotation; var product = annotation.Product; var productScreen = new ProductScreen(product); this.NavigationController.PushViewController(productScreen, true); }