Fun with LiveData (Android Dev Summit '18)
LiveData is a simple observable data holder that is aware of the lifecycle of the observers. It was designed to avoid memory leaks and null pointer exceptions between an activity or fragment and a ViewModel.
However, you can also use LiveData beyond the ViewModel. Components like Room or Workmanager also expose LiveData observables, and you can make your own data sources lifecycle-aware.
In this talk, we'll deep dive into patterns with LiveData such as the different types of transformations (map, switchMap and MediatorLiveData), handling events and building reactive architectures as well as common antipatterns and code-smells to avoid.
Links:
LiveData blogs → http://bit.ly/2PUpnWd
Samples → http://bit.ly/2qzKbDN
I/O app → http://bit.ly/2Ov1Vd3
Presented by: Jose Alcérreca & Yigit Boyar
Android Dev Summit '18 all sessions playlist → http://bit.ly/ADS18-Sessions
Subscribe to the Android Channel! → http://bit.ly/AndroidDevs1
#AndroidDevSummit" event: Android Dev Summit 2018; release: Publish;
Видео Fun with LiveData (Android Dev Summit '18) канала Android Developers
However, you can also use LiveData beyond the ViewModel. Components like Room or Workmanager also expose LiveData observables, and you can make your own data sources lifecycle-aware.
In this talk, we'll deep dive into patterns with LiveData such as the different types of transformations (map, switchMap and MediatorLiveData), handling events and building reactive architectures as well as common antipatterns and code-smells to avoid.
Links:
LiveData blogs → http://bit.ly/2PUpnWd
Samples → http://bit.ly/2qzKbDN
I/O app → http://bit.ly/2Ov1Vd3
Presented by: Jose Alcérreca & Yigit Boyar
Android Dev Summit '18 all sessions playlist → http://bit.ly/ADS18-Sessions
Subscribe to the Android Channel! → http://bit.ly/AndroidDevs1
#AndroidDevSummit" event: Android Dev Summit 2018; release: Publish;
Видео Fun with LiveData (Android Dev Summit '18) канала Android Developers
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![LiveData with Coroutines and Flow (Android Dev Summit '19)](https://i.ytimg.com/vi/B8ppnjGPAGE/default.jpg)
![ConstraintLayout deep dive (Android Dev Summit '18)](https://i.ytimg.com/vi/P9Zstbk0lPw/default.jpg)
![What's new in architecture components (Google I/O'19)](https://i.ytimg.com/vi/Qxj2eBmXLHg/default.jpg)
![Model View View-Model (MVVM): Getting Started](https://i.ytimg.com/vi/ijXjCtCXcN4/default.jpg)
![Data Binding with LiveData (Two-way & One-way) - Android Kotlin Tutorial](https://i.ytimg.com/vi/T-nQP9fidKU/default.jpg)
![Building reliable apps when connectivity is unreliable (Android Dev Summit '18)](https://i.ytimg.com/vi/YWiRef3wOYY/default.jpg)
![Jetpack Navigation Component in One Video](https://i.ytimg.com/vi/IEO2X5OU3MY/default.jpg)
![Know about LiveData, MutableLiveData & MediatorLiveData](https://i.ytimg.com/vi/4vBFqhPYxzs/default.jpg)
![Build a modular Android app architecture (Google I/O'19)](https://i.ytimg.com/vi/PZBg5DIzNww/default.jpg)
![Declarative UI patterns (Google I/O'19)](https://i.ytimg.com/vi/VsStyq4Lzxo/default.jpg)
![The Room in the house (Android Dev Summit '18)](https://i.ytimg.com/vi/sU-ot_Oz3AE/default.jpg)
![Understand Kotlin Coroutines on Android (Google I/O'19)](https://i.ytimg.com/vi/BOHK_w09pVA/default.jpg)
![Get animated (Android Dev Summit '18)](https://i.ytimg.com/vi/N_x7SV3I3P0/default.jpg)
![MVVM and LiveData on Android](https://i.ytimg.com/vi/lcAtXpyn6DY/default.jpg)
![#3.3 Android LiveData Tutorial : Jetpack Tutorial : Live Data with Demo: Android Architecture](https://i.ytimg.com/vi/1Tn7TuHUl4Y/default.jpg)
![Android Jetpack: Manage infinite lists with RecyclerView and Paging (Google I/O '18)](https://i.ytimg.com/vi/BE5bsyGGLf4/default.jpg)
![Kotlin Coroutines 101 - Android Conference Talks](https://i.ytimg.com/vi/ZTDXo0-SKuU/default.jpg)
![Lifecycle, LiveData, ViewModels - The inner wiring by Florina Muntenescu, Google EN](https://i.ytimg.com/vi/U6Lgym1XEBI/default.jpg)
![Android Jetpack: Improve your app's architecture](https://i.ytimg.com/vi/7p22cSzniBM/default.jpg)
![droidcon NYC 2017 - ViewModels, LiveData and Lifecycles, oh my!](https://i.ytimg.com/vi/SlZVYkhoSq8/default.jpg)