Android Question Copying State Between Webviews

Discussion in 'Android Questions' started by DawningTruth, May 2, 2019.

  1. DawningTruth

    DawningTruth Active Member Licensed User

    I am using a bundle to copy state from Webview1 to Webview2. Here is the "paste" code:

    Dim jo As JavaObject = myWebview
    This code compiles, but does not actually paste the new state into Webview2. Webview2 retains its old state.

    I presume I need to reset or initialize WebView2. I have tried both initializing and invalidating WebView2. But it still does not work. Any suggestions?
  2. DawningTruth

    DawningTruth Active Member Licensed User

    Resolved. I had to create a new WebView from scratch. Then it worked.
    emexes likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice