shouldOverrideUrlLoading

open override fun shouldOverrideUrlLoading(view: WebView?, request: WebResourceRequest?): Boolean

Determines if a URL load should be overridden.

Return

True if the URL load is handled, false to use default behavior.

Parameters

view

The WebView loading the URL, or null.

request

The WebResourceRequest for the URL, or null.