Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (CustomNavigationBar != null)
            {
                CustomNavigationBar.Dispose();
                CustomNavigationBar = null;
            }

            if (CustomNavigationItem != null)
            {
                CustomNavigationItem.Dispose();
                CustomNavigationItem = null;
            }

            if (TableView != null)
            {
                TableView.Dispose();
                TableView = null;
            }

            if (ProgressIndicator != null)
            {
                ProgressIndicator.Dispose();
                ProgressIndicator = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (ChatsTableView != null)
            {
                ChatsTableView.Dispose();
                ChatsTableView = null;
            }

            if (LoginButton != null)
            {
                LoginButton.Dispose();
                LoginButton = null;
            }

            if (CustomNavigationItem != null)
            {
                CustomNavigationItem.Dispose();
                CustomNavigationItem = null;
            }

            if (CustomNavigationBar != null)
            {
                CustomNavigationBar.Dispose();
                CustomNavigationBar = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CustomNavigationBar != null)
            {
                CustomNavigationBar.Dispose();
                CustomNavigationBar = null;
            }

            if (CustomNavigationItem != null)
            {
                CustomNavigationItem.Dispose();
                CustomNavigationItem = null;
            }

            if (MainView != null)
            {
                MainView.Dispose();
                MainView = null;
            }

            if (MainViewBottomConstraint != null)
            {
                MainViewBottomConstraint.Dispose();
                MainViewBottomConstraint = null;
            }

            if (ScrollToBottomButton != null)
            {
                ScrollToBottomButton.Dispose();
                ScrollToBottomButton = null;
            }
        }