Open tuchida opened 10 years ago
You need to set both viewClient and webClient.
For example:
mWebView.setChromeViewClient(new ChromeViewClient());
mWebView.setChromeWebClient(new ChromeWebClient());
thanks @pre :+1: i think this issue could be closed.
You need to set both viewClient and webClient.
I know.
Then why the viewClient_ != null
, not the webClient_ != null
or viewClient_ != null && webClient_ != null
.
ChromwView throw NullPointerException on page load time.
https://github.com/RapSolutions/chromeview/blob/master/src/us/costan/chrome/impl/ChromeAwContentsClientProxy.java#L232 I think it should check viewClient not webClient.