2

I trying to make an android app with two fragments, each with a webview window

The first one in the my MainActivity class

WebView mWebView = (WebView) findViewById(R.id.webview_today); mWebView.setWebViewClient(new WebViewClient()); Log.wtf("System.out", "Open VPToday"); mWebView.loadUrl("myLink"); 

And the second in the fragment class

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()); 

But on every start I get the warning "W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: [Some numbers]" and when I go to the fragment, I see a white fragment and get this warnings in logcat instantly:

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

1 Answer 1

-1

Solved the problem, after I moved the first webview into a fragment And used this:

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

in both fragments

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.