Android-SmartWebView
Android-SmartWebView copied to clipboard
How to prevent default reload on rotation of the screen
When a user navigates inside the app and the WebView and rotates the screen from portrait to landscape and vice verse, the app reloads back to the root url.
How to prevent this refresh?
Many Thanks in advance!
I have the same problem
This one is an old bug, possible solved. Are you guys sure you're using the latest variant?
Hello, I'm having this problem and I'm using the latest variant.
Thank you,
I fixed this bug as follows:
Add this line:
android:configChanges="orientation|screenSize"
to the <activity in your AndroidManifest.xml
I hope this is also the solution for others.