- // Get a handle for the URL text view.
- val urlTextView = view.findViewById<TextView>(R.id.history_url_textview)
-
- // Get the URL.
- val url = urlTextView.text.toString()
-
- // Invoke the navigate history listener in the calling activity. These commands cannot be run here because they need access to `applyDomainSettings()`.
- navigateHistoryListener.navigateHistory(url, currentPageId - itemId)
+ // Invoke the navigate history listener in the calling activity. Those commands cannot be run here because they need access to `applyDomainSettings()`.
+ navigateHistoryListener.navigateHistory(currentPageId - itemId)