This an example of how Viewmodel which is added in the Android Architecture Component helps to survive configuration change. You can look out for the reason of surviving the change in the diagram below:
Screenshots:
ViewModelAndroidArch
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||