Esempio 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)
            {
                string date = _dates[indexPath.Row].Date;

                Console.WriteLine("DaysViewController:TableViewDelegate.RowSelected: Label=" + date);

                SessionsViewController sessionsView = new SessionsViewController(date);

                sessionsView.Title = date;
                _dvc.NavigationController.PushViewController(sessionsView, true);
            }
Esempio n. 2
0
 public TableViewDataSource(SessionsViewController controller, string date, List <Session> sessions)
 {
     _dvc        = controller;
     _sessions   = sessions;
     controllers = new Dictionary <int, SessionCellController>();
 }
Esempio n. 3
0
 public TableViewDelegate(SessionsViewController controller, string date, List <Session> sessions)
 {
     _svc      = controller;
     _date     = date;
     _sessions = sessions;
 }
Esempio n. 4
0
 public TableViewDataSource(SessionsViewController controller, string date, List<Session> sessions)
 {
     _dvc = controller;
     _sessions = sessions;
     controllers = new Dictionary<int, SessionCellController>();
 }
Esempio n. 5
0
 public TableViewDelegate(SessionsViewController controller, string date, List<Session> sessions)
 {
     _svc = controller;
     _date = date;
     _sessions = sessions;
 }
Esempio n. 6
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)
            {
                string date = _dates[indexPath.Row].Date;
                Console.WriteLine("DaysViewController:TableViewDelegate.RowSelected: Label="+date);

                SessionsViewController sessionsView = new SessionsViewController(date);
                sessionsView.Title = date;
                _dvc.NavigationController.PushViewController(sessionsView,true);
            }