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

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

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

8f5449e0199b2328460b35108934bcad?s=128

Lara Martín

May 29, 2019
Tweet

Transcript

  1. 3.

    Data Binding • Faster compilation • 20% faster annotation processing

    • Distributed build cache support • Incremental annotation processing (experimental)
  2. 4.

    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. 5.

    View Binding • Accessing Views • Lightweight alternative to Data

    Binding • Compile time safe • Doesn’t impact your build speed • In AS 3.6
  4. 6.

    Lifecycle • SavedState in ViewModels • Improvements in LiveData for

    Kotlin • New ViewModel initialisation in Kotlin val userViewModel: UserViewModel by viewModels()
  5. 7.

    WorkManager • Performance & Compatibility • On demand initialisation •

    Google Play Services integration • Compatibility improvements
  6. 8.

    WorkManager • Performance & Compatibility • On demand initialisation •

    Google Play Services integration • Compatibility improvements • Testing • Robolectric support • Worker unit testing
  7. 9.

    WorkManager • Performance & Compatibility • On demand initialisation •

    Google Play Services integration • Compatibility improvements • Testing • Robolectric support • Worker unit testing • Next: • foreground service support
  8. 10.

    Room • Coroutines support • Extension function .withTransaction • Full

    text search • Database views • Expanded Rx support
  9. 11.

    Paging Soon in EAP: • Network support with error handling

    • Header & footers • Better RxJava and coroutines integration