<Webview shouldInterceptRequest method always retu...
# stackoverflow
u
Webview shouldInterceptRequest method always return null Webview shouldInterceptRequest method always return null.I gone use method for adblocking.I tried lots of adblock method but always need this shouldInterceptRequest method but its return null. My webview code webView.webViewClient = object : WebViewClient() { override fun shouldOverrideUrlLoading(view: WebView?, request: WebResourceRequest?): Boolean { view!!.loadUrl(request!!.url.toString()) return true } override fun...