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

            if (scrollView != null) {
                scrollView.Dispose ();
                scrollView = null;
            }
        }
 public override void DraggingStarted(UIKit.UIScrollView scrollView)
 {
     OnDraggingStarted?.Invoke(scrollView, null);
 }
 public override void DidZoom(UIKit.UIScrollView scrollView)
 {
     OnDidZoom?.Invoke(scrollView, null);
 }
 public override void DecelerationStarted(UIKit.UIScrollView scrollView)
 {
     OnDecelerationStarted?.Invoke(scrollView, null);
 }
Example #5
0
        void ReleaseDesignerOutlets()
        {
            if (btnDone != null)
            {
                btnDone.Dispose();
                btnDone = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (svPhotos != null)
            {
                svPhotos.Dispose();
                svPhotos = null;
            }
        }
Example #6
0
        void ReleaseDesignerOutlets()
        {
            if (_clientsView != null)
            {
                _clientsView.Dispose();
                _clientsView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (scrollView != null)
            {
                scrollView.Dispose();
                scrollView = null;
            }
        }
 public override void ScrolledToTop(UIKit.UIScrollView scrollView)
 {
     OnScrolledToTop?.Invoke(scrollView, null);
 }
Example #8
0
        void ReleaseDesignerOutlets()
        {
            if (CompanyTextField != null)
            {
                CompanyTextField.Dispose();
                CompanyTextField = null;
            }

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

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

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

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

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

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

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

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

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

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

            if (ProfileScrollView != null)
            {
                ProfileScrollView.Dispose();
                ProfileScrollView = null;
            }
        }
 public override void ScrollAnimationEnded(UIKit.UIScrollView scrollView)
 {
     OnScrollAnimationEnded?.Invoke(scrollView, null);
 }
 public override void DraggingEnded(UIKit.UIScrollView scrollView, bool willDecelerate)
 {
     OnDraggingEnded?.Invoke(scrollView, null);
 }
Example #11
0
        void ReleaseDesignerOutlets()
        {
            if (imgTeam1Player1 != null)
            {
                imgTeam1Player1.Dispose();
                imgTeam1Player1 = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (scrollView != null)
            {
                scrollView.Dispose();
                scrollView = null;
            }
        }
Example #12
0
        public void Scrolled(UIKit.UIScrollView scrollView)
        {
            if (scrollView.ContentOffset.Y >= (scrollView.ContentSize.Height - scrollView.Frame.Size.Height))
            {
                if (isAnimatingBottomView)
                {
                    return;
                }
                if (isAddedBottomView)
                {
                    return;
                }
                System.Diagnostics.Debug.WriteLine("Post WebView BOTTOM REACHED");
//				if (viewBottom == null) {
//					var arr = NSBundle.MainBundle.LoadNib ("PostViewBottomView", this, null);
//					viewBottom = Runtime.GetNSObject (arr.ValueAt (0)) as UIView;
//				}
                viewBottom.Frame = new CoreGraphics.CGRect(0, this.webViewPost.Frame.Bottom + 60, this.webViewPost.Frame.Width, 60);


                if (!isAddedBottomView)
                {
                    this.Add(viewBottom);
                }

                isAddedBottomView     = true;
                isAnimatingBottomView = true;

                UIView.Animate(0.5f, 0, UIViewAnimationOptions.CurveEaseOut,
                               () => {
                    //Animate (double duration, double delay, UIViewAnimationOptions options, Action animation, Action completion);

                    viewBottom.Center =
                        new CoreGraphics.CGPoint(UIScreen.MainScreen.Bounds.Width / 2, UIScreen.MainScreen.Bounds.Height - 30);
                    isAnimatingBottomView = true;
                },
                               () => {
                    isAnimatingBottomView = false;
                    viewBottom.Center     = new CoreGraphics.CGPoint(UIScreen.MainScreen.Bounds.Width / 2, UIScreen.MainScreen.Bounds.Height - 30);
                }

                               );
            }
            else
            {
                if (!isAddedBottomView)
                {
                    return;
                }
                if (isAnimatingBottomView)
                {
                    return;
                }
                isAddedBottomView     = false;
                isAnimatingBottomView = true;

                System.Diagnostics.Debug.WriteLine("Post WebView BOTTOM UNREACHED");
                UIView.Animate(0.5f, 0, UIViewAnimationOptions.CurveEaseOut,
                               () => {
                    //Animate (double duration, double delay, UIViewAnimationOptions options, Action animation, Action completion);

                    viewBottom.Center =
                        new CoreGraphics.CGPoint(UIScreen.MainScreen.Bounds.Width / 2, UIScreen.MainScreen.Bounds.Height + 50);
                    isAnimatingBottomView = true;
                },
                               () => {
                    isAnimatingBottomView = false;
                    viewBottom.Center     = new CoreGraphics.CGPoint(UIScreen.MainScreen.Bounds.Width / 2, UIScreen.MainScreen.Bounds.Height + 50);
                }

                               );
            }
            if (scrollView.ContentOffset.Y <= 0.0)
            {
                System.Diagnostics.Debug.WriteLine("Post WebView TOP REACHED");
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ActivityTableView != null) {
                ActivityTableView.Dispose ();
                ActivityTableView = null;
            }

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

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

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

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

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

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

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

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