Dont reload Activitiy while Rotating Device

Article 50 in Android-Java

2020-09-03 01:16:57 from bugfish
Dont reload Activitiy while Rotating Device
Android-Java / Hints
Last Review on: 2021-10-27 00:15:13 | Hits: 271

There is an easy way to avoid that your activity reloads if you change between portrait/landscape view.
Define the class in the manifest file as follow:

            <activity android:name=".YourActivity"

I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Currently 0 Upvotes!
captcha image
System - 2021-01-01 19:30:08
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.