Issue
Webview content disappears after clicking content in webview.
<WebView
android:id="@+id/squadWebView1"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
webviewSquad1.getSettings().setJavaScriptEnabled(true);
webviewSquad1.loadDataWithBaseURL("", String.valueOf(dataSnapshot.getValue()), "text/html", "UTF-8", "");
webviewSquad1.setHorizontalScrollBarEnabled(false);
I have two webview one is misbehaving like this.
Solution
Resolved an issue after i corrected malformed hyperlinks in response. Beauty was that content loaded as expected.
Answered By - learner
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.