/* * public override void LoadChallengeData() * { * base.LoadChallengeData(); * * SL.Manager.RefreshChallengeDetail(Challenge.ChallengeDetailsURL, Refresh); * } */ public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); //LoadChallengeData(); CheckInCollectionView.TranslatesAutoresizingMaskIntoConstraints = false; CheckInCollectionView.RemoveConstraint(CheckInCollectionViewAspect); CheckInCollectionView.AddConstraint(ChallengesConstraints.ChallengesConstantHeightConstraint(CheckInCollectionView, 0f)); // CollectionViewsDescription.Font = PointText.Font = UIFont.FromName("ProximaNova-Regular", SizeConstants.Screen.Width * 0.035f); //Overlay = Platform.AddCover(View); /* * Overlay = Platform.AddOverlay(View.Frame, UIColor.White, true); * if (Overlay != null) * { * nfloat w = Overlay.Frame.Width;//View.Frame.Width;//UIScreen.MainScreen.Bounds.Width; * nfloat h = Overlay.Frame.Height;//View.Frame.Height;//UIScreen.MainScreen.Bounds.Height; * nfloat s = w * 0.2f; * UIImageView progress = new UIImageView(new CGRect((w - s) / 2.0f, ((h - s) / 2.0f), s, s)); * progress.Image = UIImage.FromBundle("loading-indicator"); * Overlay.AddSubview(progress); * Platform.AnimateRotation(progress); * } */ //SL.Manager.RefreshChallengeDetail(Challenge.ChallengeDetailsURL, Refresh); }
void ReleaseDesignerOutlets() { if (CheckInCollectionView != null) { CheckInCollectionView.Dispose(); CheckInCollectionView = null; } if (CheckInCollectionViewAspect != null) { CheckInCollectionViewAspect.Dispose(); CheckInCollectionViewAspect = null; } if (cnsMapTop != null) { cnsMapTop.Dispose(); cnsMapTop = null; } if (cnWebViewHeight != null) { cnWebViewHeight.Dispose(); cnWebViewHeight = null; } if (CollectionPeople != null) { CollectionPeople.Dispose(); CollectionPeople = null; } if (Content != null) { Content.Dispose(); Content = null; } if (CountPeopleLbl != null) { CountPeopleLbl.Dispose(); CountPeopleLbl = null; } if (DescriptionCount != null) { DescriptionCount.Dispose(); DescriptionCount = null; } if (HeaderLbl != null) { HeaderLbl.Dispose(); HeaderLbl = null; } if (MainContent != null) { MainContent.Dispose(); MainContent = null; } if (MainScroll != null) { MainScroll.Dispose(); MainScroll = null; } if (MapView != null) { MapView.Dispose(); MapView = null; } if (padding != null) { padding.Dispose(); padding = null; } if (SubmitButton != null) { SubmitButton.Dispose(); SubmitButton = null; } if (TimeDisLbl != null) { TimeDisLbl.Dispose(); TimeDisLbl = null; } if (WebView != null) { WebView.Dispose(); WebView = null; } }