Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's New In Architecture Components - Google ...

What's New In Architecture Components - Google I/O 2019

Lightning talk given at Berlindroid
https://www.meetup.com/berlindroid/events/fvvctlyzhbmc/

Lara Martín

May 29, 2019
Tweet

More Decks by Lara Martín

Other Decks in Programming

Transcript

  1. Data Binding • Faster compilation • 20% faster annotation processing

    • Distributed build cache support • Incremental annotation processing (experimental)
  2. Data Binding • Faster compilation • 20% faster annotation processing

    • Distributed build cache support • Incremental annotation processing (experimental) • Better Android Studio support • Live class generation • Refactoring Support • Better error messages
  3. View Binding • Accessing Views • Lightweight alternative to Data

    Binding • Compile time safe • Doesn’t impact your build speed • In AS 3.6
  4. Lifecycle • SavedState in ViewModels • Improvements in LiveData for

    Kotlin • New ViewModel initialisation in Kotlin val userViewModel: UserViewModel by viewModels()
  5. WorkManager • Performance & Compatibility • On demand initialisation •

    Google Play Services integration • Compatibility improvements
  6. WorkManager • Performance & Compatibility • On demand initialisation •

    Google Play Services integration • Compatibility improvements • Testing • Robolectric support • Worker unit testing
  7. WorkManager • Performance & Compatibility • On demand initialisation •

    Google Play Services integration • Compatibility improvements • Testing • Robolectric support • Worker unit testing • Next: • foreground service support
  8. Room • Coroutines support • Extension function .withTransaction • Full

    text search • Database views • Expanded Rx support
  9. Paging Soon in EAP: • Network support with error handling

    • Header & footers • Better RxJava and coroutines integration