Android Question Correct way to Load a Webview without cache

DawningTruth

Active Member
Licensed User
I have been trying to setup my webviews to load without a cache. The libraries are not making sense to me. Please assist:

B4X:
Dim webSettings1 As WebSettings
webSettings1.LOAD_NO_CACHE = 2

'How do I link this to my webview?
 

DawningTruth

Active Member
Licensed User
Thx Erel.
Get the following error:

B4X:
webViewExtras1.GetSettings.LOAD_NO_CACHE = 2
javac 1.8.0_131
src\b4a\example\project.java:959: error: cannot assign a value to final variable LOAD_NO_CACHE
_webViewExtras1.GetSettings().LOAD_NO_CACHE = (int) (2);
 
Top