title: Difference between shouldoverrideurlloading and shouldinterceptrequest?
body: <p>Anyone please tell me the difference between methods <code>public WebResourceResponse shouldInterceptRequest (WebView view, WebResourceRequest request)</code> and <code>public boolean shouldOverrideUrlLoading(WebView view, String url)</code>.</p>
  
  <p>I'm creating an android application in which a string is got as the response of a click event in my <code>WebView</code>.I want to store this string and display it.I saw both of these methods.I tried using <code>shouldOverrideUrlLoading</code> which returns the redirect url when i checked with creating a sample app using google.com as the url which i loaded in my <code>WebView</code> and clicked a menu.</p>
  
  <p>Could anyone please tell me the difference between both methods and which one should i use?</p>