Does WebView saveState() preserve Javascript variables/environment?

后端 未结 2 494
不知归路
不知归路 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:47

    Very few information found, only this line:

    Please note that this method no longer stores the display data for this WebView. The previous behavior could potentially leak files if restoreState(Bundle) was never called.

    and this line:

    Returns the same copy of the back/forward list used to save the state.

    in the javadoc for WebView.saveState(Bundle).

提交回复
热议问题