Which component survives a configuration change but NOT process death?
- A ViewModel
- B SavedStateHandle
- C onSaveInstanceState bundle
- D SharedPreferences
Answer
ViewModel
Android can kill a backgrounded app to reclaim memory. Only saved instance state or SavedStateHandle survives that.





