The method onReceivedError(WebView, int, String, String) is undefined for the type WebChromeClient

StackOverflow https://stackoverflow.com/questions/23173175

سؤال

The method onReceivedError(WebView, int, String, String) is undefined for the type WebChromeClient

هل كانت مفيدة؟

المحلول

Yes. That's because it's defined on WebViewClient, not WebChromeClient. http://developer.android.com/reference/android/webkit/WebViewClient.html#onReceivedError(android.webkit.WebView, int, java.lang.String, java.lang.String)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top