1

Android App: Loading Dialog refuses to disappear when content is loaded! I'm sure I've missed something simple and obvious

view story
linux-howto

http://stackoverflow.com – Here's some of the code (changed URLs): webView.loadUrl("http://www.google.com"); WebClientClass webViewClient = new WebClientClass(); webView.setWebViewClient(webViewClient); WebChromeClient webChromeClient=new WebChromeClient(); webView.setWebChromeClient(webChromeClient); setContentView(webView); } public class WebClientClass extends WebViewClient { ProgressDialog pd = null; @Override public void onPageStarted(WebView view, String url, Bitmap favicon) { super.onPageStarted(view, url, favicon); pd = new ProgressDialog(MainActivity.this); if ( !isNetworkAvail (HowTos)