protected override void OnAppearing() { base.OnAppearing(); if (Device.RuntimePlatform == Device.Android) { _GifHolder.IsVisible = false; } ContainerPage.IsFromThisPage = true; if (Device.RuntimePlatform == Device.iOS) { _ParentStack.Margin = new Thickness(0, DependencyService.Get <IStatusBar>().GetHeight(), 0, 0); } _WebViewer.Source = URL; _Error.Source = ImageSource.FromResource("ScenicPlots.Assets.error404.png", typeof(RegisterPage)); if (_ParentStack.Children.Count >= 2) { ContainerPage.CheckConnection(URL, _Frame, _WebViewer, _ParentStack, _Error, _GifHolder, AndroidLoadingLabel); } }
private void _TryAgain_Clicked(object sender, EventArgs e) { ContainerPage.CheckConnection(URL, _Frame, _WebViewer, _ParentStack, _Error, _GifHolder, AndroidLoadingLabel); }