public override async void RowSelected (UITableView tableView, Foundation.NSIndexPath indexPath) { string qualification = _tableItems[indexPath.Row]; // Retrieve list of Subjects List<Tuple<string, string>> items = await _viewController._apiController.GetSubjects (qualification); SubjectsViewController vc = new SubjectsViewController (qualification, items); _viewController.NavigationController.PushViewController (vc, true); }
public SVCTableSource(string[] items, SubjectsViewController vc) { _tableItems = items; _viewController = vc; }