清除当前WebView加载的页面

把webview页面设置为空白:

  webView.loadDataWithBaseURL(null, "","text/html", "utf-8",null);

原文地址:https://www.cnblogs.com/earl-yongchang/p/4929504.html