我尝试用两个片段创建一个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
答案 0 :(得分:-1)