I am beginner in Android studio and I started learning the different Architecture components within the Android Jetpack. When dealing with data, I realized that in almost every tutorial or documentation the ViewModel class is used. It is always stated that one of the advantages of the class is that the data can survive configuration changes, and the example is always screen rotation. My question is for which other cases it is useful and also if there are other examples of configuration changes apart from screen rotation.
Thanks