Question

In the browser that comes with Android, when you rotate the phone, the WebView is not reloaded. I was wondering how to do this. I can save the current URL of the Webview and pass it to the next version of myself, but how do I do that with the whole WebView?

Was it helpful?

Solution

I ended up just using onConfigurationChange and kept the same WebView. Thanks,
Isaac Waller

OTHER TIPS

Don't forget to register for the configChange in your Manifest.

<activity android:name=".WebContent" android:configChanges="orientation">
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top