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. What’s New in Architecture Components Lara Martín @lariki Google I/O

    2019
  2. Used by 70% of professional developers

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

    • Distributed build cache support • Incremental annotation processing (experimental)
  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
  5. View Binding • Accessing Views • Lightweight alternative to Data

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

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

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

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

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

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

    • Header & footers • Better RxJava and coroutines integration
  12. Navigation • ViewModel scoped to navigation graphs • Navigation by

    URI • Dialog as destinations
  13. Thanks. @lariki Lara Martín