public void InitializeCategoriesTable()
        {
            categoriesTableSource = new TableSourceCategories();
            categoriesTableSource.CategoryRowToSessionTableViewController += CategoryRowToImageStackDelegate;
            categoriesTableSource.HideTable += ShowImageStackView;

            categoriesTableViewController  = new CategoriesTableViewController(categoriesTableSource);
            categoriesNavigationController = new MasterTableNavigationController(categoriesTableViewController);
        }
Ejemplo n.º 2
0
 public CategoriesTableViewController(TableSourceCategories tableCategories)
 {
     tableController = new UITableViewController();
     //tableController.Title = "Categories";
     table = new UITableView();
     table.BackgroundColor = AppColors.LIGHT_TEAL;
     source               = tableCategories;
     table.Source         = (UITableViewSource)source;
     tableController.View = table;
 }
        public void InitializeMasterControllerFields()
        {
            //Create the Profile source and assign the delegate
            CategorySource = new TableSourceCategories(this, true);
            CategorySource.CategoryRowToSessionTableViewController += GetRowClickedFromCategorySource;
            CategorySource.HideTable += ShowRunsTableHandler;

            //create the profile table controller
            newSessionTableViewController = new NewSessionTableViewController(CategorySource);
            masterNavigationController    = new SessionsScreenMasterTableNavigationController(newSessionTableViewController, tabBar);
        }