How to apply the custom setting on RokcetWeb Android

After buying rocketWeb from codecanyon, I configure the app it’s working but I want to apply some custom settings on my webview.

mBinding.webView.getSettings() is your webview setting object so you can apply setting on initExtraConfig() method. 

For example:
Following this URL (https://stackoverflow.com/a/31338188/2535875) I try to turn off the cache. 

Stackoverfollow code,


mWebView.getSettings().setAppCacheEnabled(false); mWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);

Code in rocketWeb,

mBinding.webView.getSettings().setAppCacheEnabled(false);
mBinding.webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);

Leave a Reply