【发布时间】:2016-08-28 14:18:49
【问题描述】:
我试图用两个片段制作一个安卓应用,每个片段都有一个 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:无法调用确定的Visibility() - 从未看到 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
【问题讨论】:
标签: java android android-fragments webview