Clear cache web view

This commit is contained in:
M66B
2023-08-13 15:01:51 +02:00
parent 84b3336afb
commit f6b7332073
2 changed files with 7 additions and 0 deletions

View File

@@ -198,6 +198,10 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
});
}
void clearCache() {
this.hash = null;
}
void setOnPageLoaded(Runnable runnable) {
Log.i("Set on page finished");
onPageLoaded = runnable;