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

Google I/O 2022 Android関連概要 / Google I/O 2022 Android summary

Ad855122c2c5b24640cc8798eb103e4b?s=47 phicdy
July 08, 2022

Google I/O 2022 Android関連概要 / Google I/O 2022 Android summary

Ad855122c2c5b24640cc8798eb103e4b?s=128

phicdy

July 08, 2022
Tweet

More Decks by phicdy

Other Decks in Programming

Transcript

  1. Google I/O 2022 Androidؔ࿈֓ཁ 2022/06/24 Google I/O 2022 LTձ ࢁޱ

    Ղ༞
  2. Google I/O 2022 - 2022೥5݄11೔ʙ12 ೔ʹΦϯϥΠϯ։࠵ - Androidؔ࿈ͷηογϣϯ͸46 https://io.google/2022/program/intl/ ja/?q=96a8382e-68d1-40b1-8fe8-c32eafe45327

  3. ϚϧνσόΠε - λϒϨοτͱ΢Υονͷൃച΋͔͋ͬͯϚϧνσόΠεؔ࿈ͷηογϣϯ͕ࠓ೥͸ଟ ͔ͬͨҹ৅ - ͋ΒΏΔը໘΁ͷೖྗ - Wear OS ޲͚ʹඒ͘͠ిྗޮ཰ͷΑ͍ΞϓϦΛ࡞੒͢Δ

    - ͢΂ͯͷը໘αΠζʹ Android ΞϓϦΛ࣮૷͢Δ - ϚϧνσόΠε։ൃ - େը໘޲͚ʹΞϓϦΛΞοϓσʔτ͢Δ - େը໘޲͚ͷΞϓϦͷσβΠϯ - Large ScreenΛαϙʔτ͢ΔͨΊͷΨΠυ - ComposeͷϓϨϏϡʔվળ - @PreviewDevicesͰҰؾʹෳ਺σόΠεͷϓϨϏϡʔ͕Ͱ͖Δ
  4. Jetpack Compose - ͳΜͱ͍ͬͯ΋Live Edit - 1.2 Betaʢ2022/06/24࣌఺Ͱ͸rc02ʣ - Downloadable

    fonts - Nested scrolling interop - Lazy Layout - Text magnifer - etc - Jetpack ComposeΛ࢖͏ʹ౰ͨͬͯͷ஫ҙ఺ͷηογϣϯ͸ඞݟ - Compose ͷ Lazy ϨΠΞ΢τ - Jetpack Compose ͷҰൠతͳύϑΥʔϚϯεͷམͱ݀͠
  5. Android ։ൃπʔϧͷਐԽ - Live Edit - re-composeͷճ਺දࣔ - CrashlyticsΛAndroid StudioͰݟΒΕΔ

    - LogcatͷਐԽ - JetifierͷνΣοΫ - Non-transitive R migarate - lintͷΩϟογϡ - testOptions.devicesͰΤϛϡϨʔλࢦఆ - etc
  6. ύϑΥʔϚϯε - ΞϓϦͷύϑΥʔϚϯεΛ޲্ͤ͞Δ৽ػೳ - Baseline Profile͕େ͖ͳτϐοΫ - ઃఆ͢Δ͚ͩͰىಈ࣌ؒΛߴ଎Խ - Google

    Map͸30%ىಈ͕ૣ͘ͳͬͨ - ΞϓϦىಈʹඞཁͳϝιου΍ΫϥεΛϦετΞοϓͨ͠ϓϩϑΝΠϧΛ࡞ΓɺϓϩϑΝΠ ϧΛಡΉ͜ͱͰΛࣄલίϯύΠϧʢAhead-of-time (AOT) compilationʣ͠ߴ଎Խ͢Δ࢓૊Έ - CI/CDͰͲ͏ϓϩϑΝΠϧΛߋ৽͍͔ͯ͘͠͸ཁݕ౼ʢͨͥ͢Ζ͞Μͷαϯϓϧʣ - Macrobenchmark - App StartupͷϑΣʔζղઆ - profiler - perfetto
  7. GoogleʹΑΔαϯϓϧͷ֦ॆ - Now in AndroidΞϓϦ - Compose΍Material 3ͳͲ࠷৽ٕज़Λ࢖ͬͨΞϓϦ - Google

    I/O ΞϓϦ - ࠓ೥͸৽نʹϨϙδτϦ͸࡞͍ͬͯͳ͍ɻBenchmark͕ೖͬͨΓCompose͕ೖͬͨΓਐԽ͠ ͍ͯΔ - Android Architecture Blueprints - LiveData -> FlowҠߦɺComposeରԠ - ղઆ - compose sample