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

Jetpack Compose best practices 動画紹介 @GoogleI/O LT会

Tojo
June 24, 2022

Jetpack Compose best practices 動画紹介 @GoogleI/O LT会

GoogleI/O 2022 より、Jetpack Compose best practicesのセッション動画の解説を社内LT用にまとめたものです。

Tojo

June 24, 2022
Tweet

More Decks by Tojo

Other Decks in Programming

Transcript

  1. SFNFNCFS\^ -B[Z-JTULFZ EFSJWFE4UBUF0G\^ ಡΈऔΓͷԆظ ٯํ޲ॻ͖ࠐΈͷճආ #BTFMJOF1SP fi MFT ϦϦʔεϞʔυͰϏϧυ͢Δ ಈըͷߏ੒

    ࣮૷ͷ࿩ -5Ͱ͸ ͚ͩ͜͜঺հ͠·͢ʂ ΞϓϦߏ੒ͷ࿩ $PNQPTJUJPOͱ3FDPNQPTJUJPOͷ ࢓૊ΈΛཧղ͍ͯ͠Δਓ޲͚ͷ಺༰Ͱ͢ 🙏
  2. $POUBDU*UFN $POUBDU*UFN $POUBDU*UFN -B[Z$PMVNO *% *% *% 1PT 1PT 1PT

    ΞΠςϜ͸Ϧετ಺ͷҐஔͰೝࣝ͞Ε͍ͯΔ $BVUJPO ྑ͘ͳ͍ίʔυ
  3. $POUBDU*UFN $POUBDU*UFN $POUBDU*UFN -B[Z$PMVNO *% *% *% 1PT 1PT 1PT

    $POUBDU*UFN $POUBDU*UFN $POUBDU*UFN -B[Z$PMVNO *% *% *% 1PT 1PT 1PT $POUBDU*UFN *% 1PT ઌ಄ʹ ΞΠςϜΛ௥Ճ 3FDPNQPTJUJPO ΞΠςϜ͸Ϧετ಺ͷҐஔͰೝࣝ͞Ε͍ͯΔ $BVUJPO ྑ͘ͳ͍ίʔυ
  4. -B[Z-JTULFZΛ࢖͓͏ %P $POUBDU*UFN $POUBDU*UFN -B[Z$PMVNO *%BBB *%CCC *%DDD 1PT 1PT

    1PT $POUBDU*UFN $POUBDU*UFN $POUBDU*UFN -B[Z$PMVNO *%BBB *%CCC *%DDD 1PT 1PT 1PT $POUBDU*UFN *%YYY 1PT ઌ಄ʹ ΞΠςϜΛ௥Ճ ࠶ར༻ ΞΠςϜ͸ ϢχʔΫͳ*%Ͱೝࣝ͞Ε͍ͯΔ $POUBDU*UFN %P
  5. %PO`U $PNQPTJUJPO -BZPVU %SBX ͲͷΑ͏ͳ6*Λ දࣔͤ͞Δ͔ Ͳ͜ʹ6*Λ ഑ஔ͢Δ͔ 8IBU 8IFSF

    )PX ͲͷΑ͏ʹ6*Λ ϨϯμϦϯά͢Δ͔ ը໘ʹ6*͕ग़Δ·ͰͷͭͷϑΣʔζ ྑ͘ͳ͍ίʔυ
  6. %PO`U $PNQPTJUJPO -BZPVU %SBX ը໘ʹ6*͕ग़Δ·ͰͷͭͷϑΣʔζ ͲͷΑ͏ͳ6*Λ දࣔͤ͞Δ͔ Ͳ͜ʹ6*Λ ഑ஔ͢Δ͔ 8IBU

    8IFSF )PX ͲͷΑ͏ʹ6*Λ ϨϯμϦϯά͢Δ͔ ಡΈऔΔ $PMPS͕มԽ͢Δ౓ʹ ࠷ॳͷϑΣʔζ͔Β ࠶࣮ߦ͞Εͯ͠·͏ ྑ͘ͳ͍ίʔυ
  7. ಡΈऔΓͷԆظΛ࢖͓͏ %P $PNQPTJUJPO -BZPVU %SBX ͲͷΑ͏ͳ6*Λ දࣔͤ͞Δ͔ Ͳ͜ʹ6*Λ ഑ஔ͢Δ͔ 8IBU

    8IFSF )PX ͲͷΑ͏ʹ6*Λ ϨϯμϦϯά͢Δ͔ $PMPS͕มԽ͢Δ౓ʹ %SBXϑΣʔζ͚͕ͩ ࠶࣮ߦ͞ΕΔ ಡΈऔΓ ը໘ʹ6*͕ग़Δ·ͰͷͭͷϑΣʔζ
  8. SFNFNCFS\^ -B[Z-JTULFZ EFSJWFE4UBUF0G\^ ಡΈऔΓͷԆظ ٯํ޲ॻ͖ࠐΈͷճආ #BTFMJOF1SP fi MFT ϦϦʔεϞʔυͰϏϧυ͢Δ ಈըͷߏ੒

    ࣮૷ͷ࿩ ̑͸ΠϕϯτͷίʔϧόοΫͰ ঢ়ଶΛߋ৽͠Α͏ͱ͍͏؆୯ͳ࿩ ΞϓϦߏ੒ͷ࿩ https://developer.android.com/jetpack/compose/performance ެࣜυΩϡϝϯτc$PNQPTFͷύϑΥʔϚϯε υΩϡϝϯτΛಡΜͰ͍ͩ͘͞