WebView loadUrl works only once

后端 未结 14 1730
长情又很酷
长情又很酷 2020-12-14 01:49

EDIT: I worked on this project years ago and unfortunately I cannot verify if any of the answers is working in the given scenario.

I am having hard time with one Web

14条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-14 02:39

    Use exact in below sequence.

       wv.clearCache(true);
       wv.clearView();
       wv.reload();
       wv.loadUrl("about:blank");
       wv.loadData(Constants.BLOG_URL);
    

提交回复
热议问题