How to Clear Cache On Android WebView

This simple java code can be used to clear cache on android WebView

Mywebview.clearCache(true);

true or false here is boolean.

Usually it is called on a click event




, , ,

Post navigation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.