Android make webview faster and improve webview performance
This simple code can make the webview increase its performance and speed it up a bit
You should also note that this code works only on the android build versions greater than 18, so you should use this code only after detecting whether the android device is over 18 or not, if you do note do this, your app can crash.
Here is the java code to make webview faster
if (Build.VERSION.SDK_INT < 18) { //speed webview webview.getSettings().setRenderPriority(WebSettings.RenderPriority.HIGH); }
Hi,
I think that there is a problem in code
If you write Build.VERSION.SDK_INT 18
Is the code not executing?