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

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

phicdy
July 08, 2022

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

phicdy

July 08, 2022
Tweet

More Decks by phicdy

Other Decks in Programming

Transcript

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

    - ͢΂ͯͷը໘αΠζʹ Android ΞϓϦΛ࣮૷͢Δ - ϚϧνσόΠε։ൃ - େը໘޲͚ʹΞϓϦΛΞοϓσʔτ͢Δ - େը໘޲͚ͷΞϓϦͷσβΠϯ - Large ScreenΛαϙʔτ͢ΔͨΊͷΨΠυ - ComposeͷϓϨϏϡʔվળ - @PreviewDevicesͰҰؾʹෳ਺σόΠεͷϓϨϏϡʔ͕Ͱ͖Δ
  2. 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 ͷҰൠతͳύϑΥʔϚϯεͷམͱ݀͠
  3. Android ։ൃπʔϧͷਐԽ - Live Edit - re-composeͷճ਺දࣔ - CrashlyticsΛAndroid StudioͰݟΒΕΔ

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

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

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