title: How do I clear previous WebView's content before loading the next WebView?
body: <p>My scenario is initially I am loading a WebView and later on I am loading the same WebView with a different URL.</p>
  
  <p>My problem is whenever I am loading the next URL I can see the previously loaded URL contents and then my currently loaded URL contents gets displayed.</p>
  
  <p>I want to clear the contents whenever I am loading the different URL.</p>
  
  <p>Say,</p>
  
  <pre><code>if (pos == 0) {
      mweb.clearCache(true);
      mweb.clearHistory();
      mweb.loadUrl("http://stackoverflow.com/");
  }
  else if (pos == 1) {
      mweb.clearCache(true);
      mweb.clearHistory();
      mweb.loadUrl("http://android.stackexchange.com/");
  }
  </code></pre>
  
  <p>Both <code>clearCache()</code> and <code>clearHistory()</code> does not work for me.</p>