Android加载echart图表

时间:2022-05-22 03:36:05

给自己备注一下

Android手机上对echart插件显示时,在Android5.0以上会报:Cannot Call determinedVisibility() never saw a connection for PID

解决方法:在加载js方法时使用延迟即可:

handler.postDelayed(new Runnable() {

@Override
public void run() {
// TODO Auto-generated method stub
webView.loadUrl("javascript:refreshView("+7+");");
}
},500);

参考链接:

http://*.com/questions/33083066/android-webview-cannot-call-determinedvisibility-never-saw-a-connection-for