示例#1
0
        private void prepareViews()
        {
            //Prevent bounces in UIScrollView
            AutomaticallyAdjustsScrollViewInsets = false;

            //Card border
            CurrentTimeEntryCard.Layer.CornerRadius  = 8;
            CurrentTimeEntryCard.Layer.ShadowColor   = UIColor.Black.CGColor;
            CurrentTimeEntryCard.Layer.ShadowOffset  = new CGSize(0, -2);
            CurrentTimeEntryCard.Layer.ShadowOpacity = 0.1f;
            CurrentTimeEntryElapsedTimeLabel.Font    = CurrentTimeEntryElapsedTimeLabel.Font.GetMonospacedDigitFont();

            // Card animations
            StopTimeEntryButton.Hidden  = true;
            CurrentTimeEntryCard.Hidden = true;

            //Hide play button for later animating it
            StartTimeEntryButton.Transform = CGAffineTransform.MakeScale(0.01f, 0.01f);

            //Prepare Navigation bar images
            reportsButton.SetImage(UIImage.FromBundle("icReports"), UIControlState.Normal);
            settingsButton.SetImage(UIImage.FromBundle("icSettings"), UIControlState.Normal);

            RunningEntryDescriptionFadeView.FadeLeft  = true;
            RunningEntryDescriptionFadeView.FadeRight = true;

            prepareSpiderViews();
            prepareEmptyStateView();

            TopConstraint.AdaptForIos10(NavigationController.NavigationBar);
        }
示例#2
0
        private void prepareViews()
        {
            TopConstraint.AdaptForIos10(NavigationController.NavigationBar);

            // Title view
            NavigationItem.TitleView = titleButton = new UIButton(new CGRect(0, 0, 200, 40));
            titleButton.SetTitleColor(UIColor.Black, UIControlState.Normal);

            // Calendar configuration
            TopCalendarConstraint.Constant = calendarHeight;
        }
        private void prepareViews()
        {
            // Syncing indicator colors
            setIndicatorSyncColor(SyncedIcon);
            setIndicatorSyncColor(SyncingIndicator);
            setIndicatorSyncColor(LoggingOutIndicator);

            // Resize Switches
            TwentyFourHourClockSwitch.Resize();
            ManualModeSwitch.Resize();

            TopConstraint.AdaptForIos10(NavigationController.NavigationBar);
        }
        void ReleaseDesignerOutlets()
        {
            if (CalendarContainer != null)
            {
                CalendarContainer.Dispose();
                CalendarContainer = null;
            }

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

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

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

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

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

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

            if (WorkspaceFadeView != null)
            {
                WorkspaceFadeView.Dispose();
                WorkspaceFadeView = null;
            }
        }
示例#5
0
        void ReleaseDesignerOutlets()
        {
            if (TopConstraint != null)
            {
                TopConstraint.Dispose();
                TopConstraint = null;
            }

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            TopConstraint.AdaptForIos10(NavigationController.NavigationBar);
            Title = Resources.Licenses;

            LicensesTableView.RowHeight           = UITableView.AutomaticDimension;
            LicensesTableView.EstimatedRowHeight  = 396;
            LicensesTableView.SectionHeaderHeight = 44;

            var source = new LicensesTableViewSource(LicensesTableView);

            LicensesTableView.Source = source;

            var bindingSet = this.CreateBindingSet <LicensesViewController, LicensesViewModel>();

            bindingSet.Bind(source).To(vm => vm.Licenses);

            bindingSet.Apply();
        }
示例#7
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            TopConstraint.AdaptForIos10(NavigationController.NavigationBar);
            Title = Resources.About;

            var bindingSet = this.CreateBindingSet <AboutViewController, AboutViewModel>();

            bindingSet.Bind(PrivacyPolicyView)
            .For(v => v.BindTap())
            .To(vm => vm.OpenPrivacyPolicyCommand);

            bindingSet.Bind(TermsOfServiceView)
            .For(v => v.BindTap())
            .To(vm => vm.OpenTermsOfServiceCommand);

            bindingSet.Bind(LicensesView)
            .For(v => v.BindTap())
            .To(vm => vm.OpenLicensesCommand);

            bindingSet.Apply();
        }
示例#8
0
        void ReleaseDesignerOutlets()
        {
            if (AboutView != null)
            {
                AboutView.Dispose();
                AboutView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WelcomeBackView != null)
            {
                WelcomeBackView.Dispose();
                WelcomeBackView = null;
            }
        }
示例#10
0
        void ReleaseDesignerOutlets()
        {
            if (AboutCellLabel != null)
            {
                AboutCellLabel.Dispose();
                AboutCellLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WelcomeBackView != null)
            {
                WelcomeBackView.Dispose();
                WelcomeBackView = null;
            }
        }
示例#12
0
        void ReleaseDesignerOutlets()
        {
            if (CurrentTimeEntryCard != null)
            {
                CurrentTimeEntryCard.Dispose();
                CurrentTimeEntryCard = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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