Progress Dialog on anything else but the index
<p>Here is my code:</p>

<pre><code>public class MainActivity extends Activity {

WebView mWeb;
ProgressDialog mProgress;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // no need to use title bar
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    // set webview as main content only
    mWeb = new WebView(this);
    setContentView(mWeb);
    // set Javascript
    WebSettings settings = mWeb.getSettings();
    settings.setJavaScriptEnabled(true);
    // the init state of progress dialog
    mProgress = ProgressDialog.show(this, "Loading", "Please wait for a moment...");

    // add a WebViewClient for WebView, which actually handles loading data from web
    mWeb.setWebViewClient(new WebViewClient() {
        // load url
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true;
        }

        // when finish loading page
        public void onPageFinished(WebView view, String url) {
            if(mProgress.isShowing()) {
                mProgress.dismiss();
            }
        }
    });
    // set url for webview to load
    mWeb.loadUrl("file:///android_asset/index.html");
}
}
</code></pre>

<p>I want to only show the progress dialog on links/pages that are not "        file:///android_asset/index.html". For instance, there is a link to cnn.com on the index file. When clicked, I want the progress dialog to popup but if the user then clicks back, the progress dialog will not show since its now on the "file:///android_asset/index.html"</p>

<p>I hope this makes sense. Thanks!</p>
