webView加载不完全或白屏
现象
原生的WebView调用loadurl加载(https://www.baidu.com/)出现部分元素不显示,加载(https://www.sogou.com/)显示白屏。
Logcat
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 6325
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 6325
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 6325
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 6325
解决方法
添加WebView设置,允许加载js文件
webView.getSettings().setJavaScriptEnabled(true);
暂时还没弄清楚determinedVisibility()的用处