public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var selectedCell = tableView.DataSource.GetCell(tableView, indexPath); var cellText = selectedCell.TextLabel.Text; var nextController = new SessionListController(cellText); if (nextController != null) homeController.NavigationController.PushViewController (nextController, true); }
public SessionListSource(SessionListController controller) { this.controller = controller; _section1CellId = "cellid"; _items = new List<SessionListItemView> (from s in controller.Sessions orderby s.Title select new SessionListItemView() { Title = s.Title, Track = s.Track }); }