π€ Lifecycle, LiveData, ViewModels - The inner wiring
- π€ Florina Muntenescu
- Twitter: @FMuntenescu
- GitHub: florina-muntenescu
πΉ
Video:
https://youtu.be/U6Lgym1XEBI
Android Architecture Components is a set of libraries for designing great apps. It contains APIs for implementing concepts like Lifecycle and ViewModel.Whilst these APIs are great, they do come with some questions:β’ How do Lifecycle, LiveData and ViewModels work under the hood? How and where should each of them be used?β’ What is the difference between a ViewModel from Architecture Components and the one from the MVVM pattern?β’ Lifecycle components exist for Activities, Fragments and Application. Why donβt we have the same for Views?β’ Can we have ViewModels for Views also?s LiveData a replacement for RxJava? Can they live side by side?How does LiveData work with DataBinding?
This page was generated from this YAML file. Found a typo, want to add some data? Just edit it on GitHub.