Load data in webView second time

less than 1 minute read

Load data in webView second time

If you use, webview.loadData() it doesn’t work in the subsequent calls. Instead use WebView.loadDataWithBaseURL() like this:

WebView.loadDataWithBaseURL(null, data.toString(), "text/html","UTF-8", null);

Leave a comment