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

Jetpack Compose | Meetup | Yudiz

Sumeet Rukeja
December 18, 2021

Jetpack Compose | Meetup | Yudiz

Sumeet Rukeja

December 18, 2021

Transcript

26 slides
  1. Yudiz Solutions Pvt. Ltd. An Ahmedabad based IT company providing

    software solutions since 12 years yudiz.com
  2. Sumeet Rukeja Host • Android & Flutter developer • LinkedIn

    : @smokelaboratory Savan Kashiyani Moderator • Mobile team lead • LinkedIn : @savankashiyani
  3. Agenda • What is Jetpack Compose? • Building UI •

    Interop • Navigation • New concepts • Instagram UI clone • Q&A • Quiz - Winner gets ₹500 Amazon voucher
  4. Mohit Suthar • Android & cross platform developer • LinkedIn

    : @mohit-suthar Basics of Jetpack Compose
  5. What is Jetpack Compose? • Declarative UI framework for native

    android • Built purely in Kotlin • Production ready (went stable in July ‘21) • Future of Android development for next 10 years
  6. Declarative vs Imperative programming • Analogy : Asking a taxi

    driver to go to a destination Imperative style ➔ Go straight ➔ Take left ➔ Take U turn ➔ Stop at beach Declarative style ➔ Go to the beach
  7. Side-effects in Jetpack Compose • Effects that matters • Types

    ◦ LaunchedEffect : The Coroutines of Compose ◦ DisposableEffect : On destroy of Compose?
  8. Interop in Jetpack Compose • Use compose with classic android

    • Interoperability APIs ◦ ComposeView : The xml of compose? ◦ AndroidView : Traditional views in compose? ◦ AbstractComposeView : Bundle of compose code in xml?
  9. Navigation in Jetpack Compose • Ways to navigate ◦ Activity

    + activity + composables ◦ Activity + fragments + composables ◦ Activity + composables (single activity architecture) • Navigation library
  10. Navigation library components • NavController • NavHost • composable •

    Nested navigation • Arguments & deeplinks • Animation (accompanist)
  11. Quiz time! • Method : Fastest finger first • Reward

    : ₹500 Amazon voucher • Tie : Reward distributed among winners • Notes : Email is compulsory

Other Decks in Technology