public void InitializeCategoriesTable() { categoriesTableSource = new TableSourceCategories(); categoriesTableSource.CategoryRowToSessionTableViewController += CategoryRowToImageStackDelegate; categoriesTableSource.HideTable += ShowImageStackView; categoriesTableViewController = new CategoriesTableViewController(categoriesTableSource); categoriesNavigationController = new MasterTableNavigationController(categoriesTableViewController); }
public void initializeMasterControllerFields() { //Create the Profile source and assign the delegate ProfilesSource = new TableSourceProfiles(); ProfilesSource.ProfileRowToController += GetRowClickedFromProfilesSource; ProfilesSource.HideTable += ShowSessionTableHandler; //create the profile table controller profilesTableViewController = new ProfilesTableViewController(ProfilesSource); navController = new MasterTableNavigationController(profilesTableViewController); }
public void InitializeRightTableView() { //Right Table (Image Attributes) RightAttributesTableSource = new TableSourceImageAttributes(); RightAttributesTableSource.ImageAttributeToAttributes += InsertAttributeForImage; RightImageAttributeTable = new ImageAttributesTableViewController(RightAttributesTableSource); ImageAtrributesNavigationController = new MasterTableNavigationController(RightImageAttributeTable); /* * Get the left Button handler, show the listview */ UIBarButtonItem addAttribute = ImageAtrributesNavigationController.LeftButton(); addAttribute.Clicked += AddImageAttribute; RightAttributesTableSource.AttributeRowToController += GetAttributeRowSelectedRight; }