location href webview android studio

Solutions on MaxInterview for location href webview android studio by the best coders in the world

showing results for - "location href webview android studio"
Jana
05 Oct 2017
1//Override the WebView shouldOverrideUrlLoading, like this:
2
3myWebView.setWebViewClient(new WebViewClient() {
4        public boolean shouldOverrideUrlLoading(WebView view, String url) {
5            view.loadUrl(url);
6            return true;
7        }
8    });