I\'m using a WebView in my application, I have a requirement to change the app title based on the page user is on. How can I do this in Android WebView?
I did this i
Simplest way to read title of page in Kotlin :
webView.webViewClient = object : WebViewClient() { //.... override fun onPageFinished(view: WebView, url: String) { val title = view.title } //... }