In the fragment I use WebView .
You need to create a separate method that implements the page refresh in WebView and can be called from another class.
With such a question, I can advise only such a very obvious solution:
WebView mWebView; ... public void reloadWebView() { mWebView.reload(); } mWebView.loadUrl("javascript:window.location.reload(true)"); . - post_zeewmWebView.postUrl() method to load the page, then mWebView.reload() will not work correctly. - post_zeewSource: https://ru.stackoverflow.com/questions/569825/
All Articles