I would setup the code for the webview in activity create but I would load it from activity resume. If you set the url to a global variable and load it in the resume activity, it should reload the same page when the device is turned.
No, this is by (Android) design. Because the entire Activity is recreated on rotate all the screen elements must be recreated too. Trying to carry visual elements across rotations can cause large memory leaks. In Java you need to be careful about this, using Basic4android ensures that you can't.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.