Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
8 ноября 2018 г. 3:01:10
00:19:20
Яндекс.Метрика