Android Jetpack: ViewModel

غول اندروید
غول اندروید
99 بار بازدید - 6 سال پیش - ViewModel is part of the
ViewModel is part of the Lifecycle library which was designed to help you solve common Android Lifecycle challenges and to make your apps more maintainable and testable. A ViewModel holds your app's UI data in a lifecycle conscious way that survives configuration changes. Separating your app's UI data from your Activity and Fragment classes lets you better follow the single responsibility principle: Your Activities and Fragments are responsible for drawing data to the screen, while your ViewModel can take
6 سال پیش در تاریخ 1397/03/13 منتشر شده است.
99 بـار بازدید شده
... بیشتر