public StyleDemoTableDataSource(StyleDemoTableController parent)
        {
            _cellId = "section1Cell";
            _section2CellId = "section2Cell";

            _parentController = parent;
            _items = new List<StyleItem>();

            InitBasic();
            InitAdvanced();
        }
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            UITableViewController nextController = null;

            switch (indexPath.Row)
            {
                case 0:
                    nextController = new CheckmarkDemoTableController(UITableViewStyle.Grouped);
                    break;
                case 1:
                    nextController = new StyleDemoTableController(UITableViewStyle.Grouped);
                    break;
                case 2:
                    nextController = new EditableTableController(UITableViewStyle.Plain);
                    break;
                default:
                    break;
            }

            if (nextController != null)
                _controller.NavigationController.PushViewController(nextController,true);
        }
 public StyleDemoTableDelegate(StyleDemoTableController controller)
 {
     _controller = controller;
 }