public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { ScheduleTableViewDataSource dataSource = ( ScheduleTableViewDataSource ) tableView.DataSource; BookingViewController booking = new BookingViewController( dataSource.Gyms[ indexPath.Row ], tableView, indexPath ); _navigator.PushViewController( booking, true ); }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { ScheduleTableViewDataSource dataSource = ( ScheduleTableViewDataSource )tableView.DataSource; BookingViewController booking = new BookingViewController(dataSource.Gyms[indexPath.Row], tableView, indexPath); _navigator.PushViewController(booking, true); }