Пример #1
0
 protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     base.OnElementPropertyChanged(sender, e);
     if (e.PropertyName == "LoadPageFinished")
     {
         CustomWebView.LoadCompleted(sender, e);
     }
     else if (e.PropertyName == "LoadPageStarted")
     {
         CustomWebView.LoadStarted(sender, e);
     }
     else if (e.PropertyName == "LoadPageFailed")
     {
         CustomWebView.LoadFailed(sender, e);
     }
 }
Пример #2
0
 public override void OnPageStarted(Android.Webkit.WebView view, string url, Android.Graphics.Bitmap favicon)
 {
     base.OnPageStarted(view, url, favicon);
     ActiveIndicator.Show();
     CustomWebView.LoadStarted(this, new EventArgs());
 }