News

ViewModel objects are designed to survive configuration changes, so even if Android destroys and then recreates your Activity or Fragment, the ViewModel’s data will be immediately available to ...