Android(Java) - cr_BindingManager:无法调用determinVisibility() - 从未看到pid的连接:

时间:2016-08-28 14:18:50

标签: java android android-fragments webview

我尝试用两个片段创建一个Android应用程序,每个片段都有一个webview窗口

我的MainActivity类中的第一个

WebView mWebView = (WebView) findViewById(R.id.webview_today);

    mWebView.setWebViewClient(new WebViewClient());

    Log.wtf("System.out", "Open VPToday");
    mWebView.loadUrl("myLink");

片段类中的第二个

View rootView = inflater.inflate(R.layout.fragment_morgen, container, false);

    WebView webView = (WebView)rootView.findViewById(R.id.webview_tomorrow);

    webView.loadUrl("myLink2");

    webView.setWebViewClient(new WebViewClient());

但是每次开始我都会收到警告" W / cr_BindingManager:无法调用determinVisibility() - 从未看到pid的连接:[某些数字]"当我进入片段时,我看到一个白色片段并立即在logcat中发出警告:

W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 7647
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
I/cr_Ime: ImeThread is not enabled.
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 7647

1 个答案:

答案 0 :(得分:-1)

在我将第一个webview移动到片段后解决了这个问题 用过这个:

  

https://stackoverflow.com/a/31159185/6765618

两个片段中的