I've looked for how to not reload whole activity when rotating screen in android app. Finally, I figured out that using only
android:configChanges="orientation"
in activity definition in AndroidManifest is really enough. When I rotate the phone, the activity doesn't reload, all my views are perfectly adjusted to landscape orientation, nothing goes wrong, neither onSaveInstanceState nor onRestoreInstanceState, which is used in some guides to programmatical rotation, is fired.
But if it is that simple, why all tutorials and guides I found present so complicated solution? I.e.
Saving some data on orientation change in Android
By my experiments, everything is automatically correctly re-rendered, but isn't there some hidden problem with my simple solution I don't know about? Is it really that easy and correct?
Thank you