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

What is new in Android Jetpack?

Moro
July 09, 2021

What is new in Android Jetpack?

Android Jetpack Updates

Moro

July 09, 2021
Tweet

More Decks by Moro

Other Decks in Programming

Transcript

  1. Android Jetpack • Set of libraries • Reducing the boilerplate

    code • Backward compatibility • Focus on the application code 3
  2. Versioning • Alpha ◦ Active in Development ◦ APIs can

    be added / modified / removed ◦ Tested and working • Beta ◦ Stabling features ◦ Critical problems or some feedback from the community can cause changes 6
  3. CameraX • Exposure compensation • Access to specific information related

    to the camera state (hardware info) • Interoperability with Camera2 settings 8 Stable
  4. CameraX • Exposure compensation • Access to specific information related

    to the camera state (hardware info) • Interoperability with Camera2 settings • Support to new Android resources ◦ HDR (High Dynamic Range) Preview - Just in Pixel 4a e 5 ◦ Zoom rate control ◦ Don’t perturb mode 9
  5. CameraX • Performance Improvements ◦ 15% faster to take a

    photo ◦ 25% faster to start in old devices 10 Stable
  6. App Search • Fuzzy matching • Query Expansion • Multiple

    Languages ◦ Synonyms ◦ Spell check Room • Experimental Support KSP (Kotlin Symbol Processing) ◦ 200% faster than Kapt • Native support to Enums • Support to RxJava 3 • QueryCallback 11 Alpha
  7. App Search • Fuzzy matching • Query Expansion • Multiple

    Languages ◦ Synonyms ◦ Spell check Room • Experimental Support KSP (Kotlin Symbol Processing) ◦ 200% faster than Kapt • Native support to Enums • Support to RxJava 3 • QueryCallback 12 Stable
  8. App Search • Fuzzy matching • Query Expansion • Multiple

    Languages ◦ Synonyms ◦ Spell check Room • Experimental Support KSP (Kotlin Symbol Processing) ◦ 200% faster than Kapt • Native support to Enums • Support to RxJava 3 • QueryCallback 13 Stable
  9. Fragment • Internal improvements • ActivityResult integration DataStore • Replacement

    to SharedPreferences • Coroutines/Flow support • Ways to use: ◦ key/value (Preference DataStore) ◦ Typed data (Proto DataStore) ◦ Customized (Serialization) 14 Stable
  10. Fragment • Internal improvements • ActivityResult integration DataStore • Replacement

    to SharedPreferences • Coroutines/Flow support • Ways to use: ◦ key/value (Preference DataStore) ◦ Typed data (Proto DataStore) ◦ Customized (Serialization) 15 Beta
  11. More .... • Paging (Coroutines/Flow support) • Macrobenchmark • EmojiCompat

    • SecurityCript • Navigation • Google Shortcuts • WorkManager • Hilt 17 Stable Stable Stable Alpha Alpha Alpha Stable Alpha
  12. More .... • Compose Integrations ◦ Hilt ◦ Paging ◦

    Navigation ◦ Activity ◦ ViewModel ◦ ConstraintLayout 18
  13. References - Android Developers Google Blog -> here - What

    is New in Android Jetpack? (Google IO 2021) by Nelson Leal -> here 19