Question : how to get history stack in android webview
Answered by : anxious-alligator-bx1nkddr8shy
WebBackForwardList mWebBackForwardList = mWebView.copyBackForwardList();
String historyUrl = mWebBackForwardList.getItemAtIndex(mWebBackForwardList.getCurrentIndex()-1).getUrl();
Source : https://stackoverflow.com/questions/23289409/android-accessing-webview-history/23289497 | Last Update : Thu, 11 Mar 21