WebViewClient - onPageStarted() vs shouldOverrideUrlLoading()?
<p>I'm using WebViewClient. Should we be seeing onPageStarted() callbacks always paired with an shouldOverrideUrlLoading() callback? If I load example.com in my WebView, should we be seeing both methods get called back? From the docs:</p>

<p>onPageStarted()</p>

<blockquote>
  <p>Notify the host application that a page has started loading. This method is called once for each main frame load so a page with iframes or framesets will call onPageStarted one time for the main frame. This also means that onPageStarted will not be called when the contents of an embedded frame changes, i.e. clicking a link whose target is an iframe.</p>
</blockquote>

<p>shouldOverrideUrlLoading()</p>

<blockquote>
  <p>Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView. If WebViewClient is not provided, by default WebView will ask Activity Manager to choose the proper handler for the url. If WebViewClient is provided, return true means the host application handles the url, while return false means the current WebView handles the url.</p>
</blockquote>

<p>I'm put a log statement in each method, and I see that they're not always paired together. In what cases would they not be?</p>

<p>Thanks</p>

<p><a href="http://developer.android.com/reference/android/webkit/WebViewClient.html" rel="nofollow">http://developer.android.com/reference/android/webkit/WebViewClient.html</a></p>
