How does a ViewModel work internally?

How does a ViewModel work internally?
Answer
How does the Android Viewmodel works internally? Android’s ViewModel is designed to store and manage UI-related data in such a way that it can survive configuration changes such as screen rotations. … Allowing the ViewModel to handle critical or sensitive data during configuration changes IS NOT RECOMMENDED.
 

Tìm kiếm

Back
Top