Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public override void OnPageFinished(Android.Webkit.WebView view, string url)
 {
     base.OnPageFinished(view, url);
     ActiveIndicator.Hide();
     CustomWebView.LoadCompleted(this, new EventArgs());
 }