There is a lot of questions about how we can overcome change in the orientation of the screen. Because as you all may know when we rotate a screen then the whole activity is recreated and unexpected results occur.
One solution that seems to fix this is to add this to the activity tag from the manifest:
<activity
android:configChanges="orientation|screenSize" >
</activity>
My question
If the above solution allows the activity to be rotated without recreation, then why do we have to worry about this issue? Why should we care about stuff like Architecture Components?
Thanks.
EDIT
I will edit the idea behind the question so future viewers understand what I mean.
If I did use the above in all my activities then should I expect everything to overcome the change in the screen orientation(ex: switch from portrait to landscape and vice versa).
example:
I am paginating a list of items each time I reach the top of my list, then suddenly I change to landscape...Then does this mean that adding the above in the manifest won't restart my list to the default items(so that I have to paginate all over again).