public override void ViewDidLoad() { CurrentNavigationItem = NavigationItem; base.ViewDidLoad(); TabBar.ItemSelected += NavigateOnTabBar; Title = Application.Locator.CourseViewModel.Course.Title; IdentityChanged(); TabBar.SelectedItem = FeedbackTabBarItem; SendFeedbackButton.SetCommand("TouchUpInside", Vm.SendFeedbackCommand); }
void ReleaseDesignerOutlets() { if (ContactTabBarItem != null) { ContactTabBarItem.Dispose(); ContactTabBarItem = null; } if (FeedbackTabBarItem != null) { FeedbackTabBarItem.Dispose(); FeedbackTabBarItem = null; } if (ScheduleTabBarItem != null) { ScheduleTabBarItem.Dispose(); ScheduleTabBarItem = null; } if (ScrollView != null) { ScrollView.Dispose(); ScrollView = null; } if (SendFeedbackButton != null) { SendFeedbackButton.Dispose(); SendFeedbackButton = null; } if (SlClassRoom != null) { SlClassRoom.Dispose(); SlClassRoom = null; } if (SlConcepts != null) { SlConcepts.Dispose(); SlConcepts = null; } if (SlContent != null) { SlContent.Dispose(); SlContent = null; } if (SlDepth != null) { SlDepth.Dispose(); SlDepth = null; } if (SlGlobal != null) { SlGlobal.Dispose(); SlGlobal = null; } if (SlGoalAttained != null) { SlGoalAttained.Dispose(); SlGoalAttained = null; } if (SlInstructorInteraction != null) { SlInstructorInteraction.Dispose(); SlInstructorInteraction = null; } if (SlInstructorKnowledge != null) { SlInstructorKnowledge.Dispose(); SlInstructorKnowledge = null; } if (SlInstructorPresentation != null) { SlInstructorPresentation.Dispose(); SlInstructorPresentation = null; } if (SlMaterials != null) { SlMaterials.Dispose(); SlMaterials = null; } if (SlOrganization != null) { SlOrganization.Dispose(); SlOrganization = null; } if (SlWellPaced != null) { SlWellPaced.Dispose(); SlWellPaced = null; } if (SlWellStructured != null) { SlWellStructured.Dispose(); SlWellStructured = null; } if (SubscribeTabBarItem != null) { SubscribeTabBarItem.Dispose(); SubscribeTabBarItem = null; } if (TabBar != null) { TabBar.Dispose(); TabBar = null; } }