public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { if(_departures == null) _departures = new DeparturesTable(); var busStop = _tvc.Response.BusStops[indexPath.Row]; _departures.SelectedBusStop = busStop; _departures.LoadDepartures(); _tvc.NavigationController.PushViewController(_departures, true); }
public DeparturesDataSource(DeparturesTable tvc) { _tvc = tvc; _busBuddy = new BusBuddy(); }