title: Android : WebView onPageFinished not calling after shouldOverrideUrlLoading method in android 4.4
body: <p>I am working on WebView android 4.4 when URL redirect happens loading wheel keep on loading its not dismiss properly. I googled lot but I'm not getting. Can any one explain what is the flow of the WebView android 4.4. Here is my code what I tried : </p>
  
  <pre><code>public class MyWebViewClient extends WebViewClient {
  
          @Override
          public void onPageStarted(WebView view, String url, Bitmap favicon) {
              super.onPageStarted(view, url, favicon);
  
              dialog = ProgressDialog.show(getActivity(), null, "Loading...");
              dialog.setCancelable(true);
          }
  
          @Override
          public boolean shouldOverrideUrlLoading(WebView view, String url) {
              view.loadUrl(url);
              return true;
          }
  
          @Override
          public void onPageFinished(WebView view, String url) {
              super.onPageFinished(view, url);
              dialog.dismiss();
          }
  }
  </code></pre>
  
  <p>Requesting URL "www.google.com". WebView settings are fine. OnpageFinished not calling after shouldOverrideUrlLoading method.</p>