I want to create a button in Android studio that should be part of the menu in my android WebView app, which automatically clears the cache of the application whenever a user clicks it.
How do I do that please? I am a beginner, so detailed explanation will be much appreciated!