public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var dvc = new DetailViewController(); // Pass the selected object to the new view controller. controller.NavigationController.PushViewController(dvc, true); dvc.SetDetailItem(samples[indexPath.Row]); }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var dvc = new DetailViewController (); // Pass the selected object to the new view controller. controller.NavigationController.PushViewController (dvc, true); dvc.SetDetailItem(samples[indexPath.Row]); }