public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { MonkeySpace.Core.Speaker s = sectionElements[indexPath.Section][indexPath.Row]; if (bioVC == null) { bioVC = new SpeakerBioViewController(s); } else { bioVC.Update(s); } bioVC.Title = s.Name; svc.NavigationController.PushViewController(bioVC, true); tableView.DeselectRow(indexPath, true); }
public override void ItemSelected(UICollectionView collectionView, NSIndexPath indexPath) { Speaker s = speakerData[indexPath.Row]; if (bioVC == null) { bioVC = new SpeakerBioViewController(s); } else { bioVC.Update(s); } bioVC.Title = s.Name; NavigationController.PushViewController(bioVC, true); collectionView.DeselectItem(indexPath, false); }