I have a webView which changes its load url on a button click. Everything is working fine except the loaded url seems to be not cleared properly.
The previous url is loaded in webview and is displayed just before the new url appears. I tried using
webView.clearView(),
webView.clearHistory(),
webView.loadUrl("about:blank"),
webView.clearCache(true)
and also tried clearing the cookies. But nothing helps clearing the webview properly.
I also tried webView.destroy(); but the webView is destroyed fully as I am nt able to load the next url.
Please help.