Question: What allows you to properly restore a user's state when an activity is restarted?
- the onSaveInstance()method
- all of these answers
- persistent storage
- ViewModel objects
Answer: The correct answer of the above question is Option B:all of these answers