title: How to provide additional variables to webview onPageFinished method?
body: <p>I have &quot;val&quot; values from api response call which I need to provide to onPageFinished.
  How can I make that?</p>
  <pre><code>override fun onResponse(call: Call, response: Response) {
  //getting info from response to json
  val app json.app ?: &quot;&quot;
  view.loadUrl(json.url)
  }
  
  view.webViewClient = object : WebViewClient() {
  override fun onPageFinished(view: WebView, url: String) {
    //and now I need to get this app variable
  }
  }
  </code></pre>