/// <summary>
            /// If there are subsections in the hierarchy, navigate to those
            /// ASSUMES there are _never_ Categories hanging off the root in the hierarchy
            /// </summary>
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                string            date         = _dates[indexPath.Row].Date.ToString("dd-MMM dddd");
                DayViewController sessionsView = new DayViewController(_dates[indexPath.Row].Timeslots);

                sessionsView.Title = date;
                _dvc.NavigationController.PushViewController(sessionsView, true);
                tableView.DeselectRow(indexPath, true);
            }
示例#2
0
 public TableViewSource(DayViewController controller, string date, List<Timeslot> slots)
 {
     _svc = controller;
     _slots = slots;
     controllers = new Dictionary<int, SessionCellController> ();
 }
示例#3
0
 public TableViewSource(DayViewController controller, string date, List <Timeslot> slots)
 {
     _svc        = controller;
     _slots      = slots;
     controllers = new Dictionary <int, SessionCellController> ();
 }
 /// <summary>
 /// If there are subsections in the hierarchy, navigate to those
 /// ASSUMES there are _never_ Categories hanging off the root in the hierarchy
 /// </summary>
 public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
 {
     string date = _dates[indexPath.Row].Date.ToString("dd-MMM dddd");
     DayViewController sessionsView = new DayViewController(_dates[indexPath.Row].Timeslots);
     sessionsView.Title = date;
     _dvc.NavigationController.PushViewController(sessionsView,true);
     tableView.DeselectRow(indexPath,true);
 }