How do I clear previous WebView's content before loading the next WebView?

前端 未结 7 1275

My scenario is initially I am loading a WebView and later on I am loading the same WebView with a different URL.

My problem is whenever I am loading the next URL I c

7条回答
  •  爱一瞬间的悲伤
    2020-12-15 18:05

    It seems to set the layer type of webview as "software" can resolve the problem. Perhaps the previous contents are caused by drawing cache.

提交回复
热议问题