A
A
ABU SADDAM SHISHANI2019-07-07 13:55:38
Java
ABU SADDAM SHISHANI, 2019-07-07 13:55:38

How to save the state of the activity when the application closes?

Namely, a WebView fragment. The question is how exactly to implement saving the state of the webview (namely, the open web page) and when the application is restarted, continue without a second (sorry for the tautology) request to the page.
It seems there is such an opportunity with SharedPreferences. But since I'm a teapot, I couldn't figure it out.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question