Component - Why ViewModel survives configuration changes
This UI component explains how the ViewModel in Android helps keep data alive even when the device rotates or the screen configuration changes. It shows that the ViewModel is tied to the lifecycle of the activity or fragment but is not destroyed on configuration changes, so the UI can quickly restore its state.