How to clear webview history?

前端 未结 3 1612
青春惊慌失措
青春惊慌失措 2020-12-08 14:22

The history of webview is not clearing... What is wrong with below code?

Web view Creation

mWebViewReport=(WebView)findViewById(R.id.report_page);
mW         


        
3条回答
  •  情书的邮戳
    2020-12-08 14:35

    I think, clearHistory() clears the back and forward list. So the currently loaded url will still remain in the back list.

提交回复
热议问题