Example #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 tent = _tents[indexPath.Row];

                Console.WriteLine("TentsViewController:TableViewDelegate.RowSelected: Label={0}", tent.Name);
                var details = new TentDetailViewController(tent);

                details.Title = tent.Name;
                _tvc.NavigationController.PushViewController(details, true);
            }
Example #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 tent = _tents[indexPath.Row];
     Console.WriteLine("TentsViewController:TableViewDelegate.RowSelected: Label={0}",tent.Name);
     var details = new TentDetailViewController(tent);
     details.Title = tent.Name;
     _tvc.NavigationController.PushViewController(details, true);
 }