Does WebView saveState() preserve Javascript variables/environment?

后端 未结 2 476
不知归路
不知归路 2020-12-29 15:49

I\'ve searched many threads and still cannot find the answer to my question. I\'m working on an Android app which uses WebView.

I use

2条回答
  •  一整个雨季
    2020-12-29 16:41

    As user2113581 commented, moving the WebView into a context of the application rather than the Activity is a potential solution. This still has all of the pitfalls that user2113581 mentioned, including

    提交评论

提交回复
热议问题