During an attempt to bring an older android application into the modern world, I have come across the deprecated statement of:
websettings.setAppCacheEnabled(false)
What is the modern Androidx alternate?
During an attempt to bring an older android application into the modern world, I have come across the deprecated statement of:
websettings.setAppCacheEnabled(false)
What is the modern Androidx alternate?
Use this
webView.settings.cacheMode=WebSettings.LOAD_NO_CACHE
Refer : https://developer.android.com/reference/android/webkit/WebSettings
websettings.setAppCacheEnabled(true)
, what should I set now? –
Caption Alternatively, this helped me out:
webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
websettings.setAppCacheEnabled(true)
, what should I set now? –
Caption © 2022 - 2024 — McMap. All rights reserved.