Ejemplo n.º 1
0
            /// <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)
            {
                var s = _slots[indexPath.Row];

                if (slotVC == null)
                {
                    slotVC = new TimeslotViewController(s);
                }
                else
                {
                    slotVC.Update(s);
                }
                slotVC.Title = s.Title;
                _svc.NavigationController.PushViewController(slotVC, true);
            }
Ejemplo n.º 2
0
 /// <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)
 {
     var s = _slots[indexPath.Row];
     if (slotVC == null)
         slotVC = new TimeslotViewController (s);
     else
         slotVC.Update (s);
     slotVC.Title = s.Title;
     _svc.NavigationController.PushViewController (slotVC, true);
 }