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); } }
public override void OnReceivedHttpError(Android.Webkit.WebView view, IWebResourceRequest request, WebResourceResponse errorResponse) { base.OnReceivedHttpError(view, request, errorResponse); CustomWebView.LoadFailed(this, new EventArgs()); }