android10 / android10/Android-CleanArchitecture-Kotlin

Android Arch Components handle configuration changes / lifecycle

Đang mở
#63 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
discussion question
Ngôn ngữ chính
Kotlin
Star
4.8k
Fork
929
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

you said

> At implementation level, in our example, MVVM is accomplished by the usage of Architecture Components, which its main advantage is to handle configuration changes when the screen rotates, something that has given us many headaches as android developers (I guess you know what I’m talking about).
>
> **Disclaimer: that does not mean we have to no longer care about lifecycles, but it is way easier.**

ViewModel was created to handle the configuration / lifecycle for you.

[viewModel](https://developer.android.com/topic/libraries/architecture/viewmodel)
[viewModel Lifecycle](https://developer.android.com/reference/android/arch/lifecycle/ViewModel)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.