I have a webview followed by 3 buttons. The text that fills the webview and the text for each button is pulled from an sqlite db then each view is set. When the intent opens the buttons are set but the webview is empty then loads a split second later.
Is there something I can do to change this?
There are other questions that ask similar questions, this was taken from them:
webview.getSettings().setRenderPriority(RenderPriority.HIGH);
webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
Adding this android:hardwareAccelerated="true"
in the manifest was the only thing that significantly improved the performance for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With