I have a webview loaded through loadData() but when it renders it always shows a white page for a split second before it loads the right data.
holder.webView.setWebChromeClient(new WebChromeClient(){
@Override
public void onProgressChanged(WebView view, int newProgress) {
super.onProgressChanged(view, newProgress);
if(newProgress==100){
holder.webView.setVisibility(View.VISIBLE);
}
}
});
I already tried to make the web view visible only after it is fully loaded, but no luck.
Is there an easy way to get rid of this?