location.href webview android studio code example
Example: location.href webview android studio
//Override the WebView shouldOverrideUrlLoading, like this:
myWebView.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
});