I have a WebView and a layout at the bottom housing the back and previous buttons. I’m looking for a way to accurately set the enabled state of these buttons depending on the WebView‘s history. I tried the doUpdateVisitedHistory method in the WebViewClient but that only updates when a new URL is loaded…not for cases where a link simply scrolls down the current page, which apparently is still kept in the WebView‘s history. How do I capture ALL additions to the WebView‘s history?
I have a WebView and a layout at the bottom housing the back and
Share
Here’s the solution: