Android WebView renders blank/white, view doesn't update on css changes or HTML changes, animations are choppy

后端 未结 9 1518
不知归路
不知归路 2020-11-27 10:25

When ever I make a css class change, the changes don\'t always appear. This appears to happen when I have a touch event that adds something like a down class name to a butto

9条回答
  •  感动是毒
    2020-11-27 10:47

    Just clear the cache of webView in oncreate() and it works for me.

    webView.clearCache(true);
    

提交回复
热议问题