Question: Suppose a ViewModel has been associated with the running Activity. What happens to the ViewModel when the device is rotated? Nothing happens to the ViewModel
Suppose a ViewModel has been associated with the running Activity. What happens to the ViewModel when the device is rotated?
Nothing happens to the ViewModel
The ViewModel is paused and then resumed
The ViewModel is destroyed
The ViewModel is destroyed and then recreated
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
