How to Clear Cache On Android WebView

Clear cache in 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


Meet Advanced Plus

I highly recommend you use the new and advanced Android Webview Advanced Plus Source Code we developed to easily convert any website to android app. No coding required, just set your website link, app color, icon etc and the app will be ready!, and it supports upload, download, loading progress bars, notification, night mode etc. To learn more about the Android Advanced Webview Source Code and to download it, head over to this page Download Android Webview Source Code


, , ,

Post navigation

One thought on “How to Clear Cache On Android WebView

Comments

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