When the page with the WebView first loads, sometimes images are missing or displayed incorrectly. If I reload the page the WebView always displays perfectly. I know everyon
Please try this instead of your way, that is a bad practice:
learnWebView.post(new Runnable() {
@Override
public void run() {
learnWebView.loadUrl("myurl");
}
});
Or this, in case the first one wont work:
learnWebView.postDelayed(new Runnable() {
@Override
public void run() {
learnWebView.loadUrl("myurl");
}
}, 500);
Hope this helps.