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"
android:configChanges="orientation|screenSize"/>
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.
Comment Section
Currently 0 Upvotes!
System - 2021-01-01 19:30:08
We appreciate comments on our site!