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

Review of Google I/O 2017 & Prepare for Google I/O 2018

Review of Google I/O 2017 & Prepare for Google I/O 2018

Google IO Extended Tokyo 2018

85cab5fdf09afe3ee78ce3667681915a?s=128

Keisuke Kobayashi

May 08, 2018
Tweet

Transcript

  1. Review of Google I/O 2017 & Prepare for Google I/O

    2018 Keisuke Kobayashi / kobakei Google I/O Extended Tokyo 2018
  2. About Me • Keisuke Kobayashi • Twitter: kobakei122 • GitHub:

    kobakei • Kyash, Inc • Android engineer / iOS engineer / Eng. Manager • ݸਓࣄۀओ
  3. Kyash ID: kobakei ײँͷ39ԁʢThank Youʣ͸ͪ͜Β·Ͱʂ

  4. ӡӦͷํʹґཔ͞Εͨ

  5. ӡӦͷํʹґཔ͞Εͨ

  6. None
  7. ໷தͩ͠
 ΏΔ;ΘܥͷLTΛ͠·͢ ※ࠓ೔͸ίʔυ͸Ұ੾ग़·ͤΜ

  8. ࠓ೔࿩͢͜ͱ • Google I/O 2017ͷηογϣϯৼΓฦΓ • ࣮ࡍʹۀ຿Ͱ࢖ͬͨ΋ͷͱ͔ • Google I/O

    2018ͷ஫໨ηογϣϯ • ಠஅͱภݟͰνϣΠε͠·͢ • ΄΅AndroidܥͷηογϣϯͰ͢
  9. Google I/O 2017ͷ ৼΓฦΓ

  10. ݸਓతʹࢥ͍ग़͕͋Δ΋ͷ • Kotlin • Android Studio 3.0 • Architecture Components

    • Oreo௨஌ʢ௨஌νϟϯωϧʣ • Adaptive Icon • Firebase Performance Monitoring • SafetyNet in Developer Console
  11. Kotlin • Kotlin͸͍͍ͧ • Kyash͸ϑϧKotlin

  12. ໾໨Λऴ͑ͨਓͨͪ • Retrolambda • KotlinʹϥϜμࣜ͋ΔͷͰෆཁ • Lightweight Stream API •

    KotlinͷίϨΫγϣϯ͸ΠέͯΔͷͰෆཁ
  13. ࣮ࡍKotlinͲ͏ʁ • ؒҧ͍ͳ͘࠾༻ͯ͠Α͔ͬͨ • Null safetyʹΑΔNPEճආ • Delegated property, Class

    delegation • ԿΑΓॻ͍ͯͯؾ͍͍࣋ͪ • །Ұࣄނͬͨͷ͕Parcelize • JellyBeansͰىಈ͠ͳ͘ͳΔόάʢࠓ͸௚ͬͨʣ
  14. Android Studio 3.0 • ͳ͔ͳ͔ग़ͳ͔ͬͨʢ2017೥11݄ϦϦʔε) • Oreoͷ৽ػೳ͕ͦΕ·Ͱ࢖͑ͳͯ͘ਏ͔ͬͨ • Adaptive Icons,

    Autosizing TextViews • Ϗϧυ͕ૣ͘ͳͬͨʢΒ͍͠ʣ • Profiler͕৽͘͠ͳ͚ͬͨͲɺਖ਼௚͋·Γ࢖ͬͯͳ͍
  15. Architecture Components • KyashͰ͸ࠓͷॴ࢖ͬͯͳ͍ • ։ൃ౰࣌alpha~betaͩͬͨͷͰɺࣅͨΑ͏ͳ࢓૊ΈΛࣗ࡞ͨ͠ • ෭ۀઌͰಋೖͨ͠ • Lifecycle

    & ViewModel • RxJava & AutoDisposeͱ૊Έ߹Θͤͨ • LiveData, Room, Paging͸ຊ൪Ͱ࢖ͬͨ͜ͱͳ͍
  16. Oreoͷ௨஌ • ௨஌νϟϯωϧͷ௥Ճ • Ϣʔβʔ͕νϟϯωϧ͝ͱʹ௨஌ͷදࣔʗ ඇදࣔ΍ԻɾόΠϒΛઃఆՄೳʹ • Target SDKΛ্͛ͨΒ௨஌͕ग़ͳ͘ͳͬͯɺ ରԠΛഭΒΕͨਓ΋ଟ͍ͷͰ͸ʁ

  17. ༨ஊ: DroidKaigi 2018Ͱ࿩ͨ͠ • ʮ։ൃऀ͕஌͓͖͍ͬͯͨ௨஌ͷྺ࢙ʯͰݕ ࡧ͠Α͏ • ICSʙOreo·Ͱ໢ཏͯ͠௨஌ͷػೳΛ঺հ͠ ͨ

  18. એ఻: Android Pͷ௨஌͸࠷৽ͷςΫϒຊࢀর

  19. Adaptive Icon • ɹɹ͕ରԠͯ͘͠Εͨ • Oreo୺຤ͳΒશͯͰΞχϝʔγϣϯ͢ΔΘɹ ͚Ͱ͸ͳ͍ • Nexus 5XΤϛϡϨʔλͰ͸ಈ͍ͨ

    • Huawei Mate9Ͱ͸ݟͨ໨มΘΒͣ
  20. Tips: ຊ൪ͱ։ൃ൛ΛΘ͔Γ΍͘͢

  21. ic_launcher.xml • Build type͝ͱʹΞΠίϯͷഎܠ৭Λม͑Δ

  22. Firebase Performance Monitoring • ىಈ࣌ؒ΍ಛఆͷϝιουͷ࣮ߦ࣌ؒΛܭଌ Ͱ͖Δ • ΊͪΌͪ͘Όظ଴ͯͨ͠ • ىಈ࣌ؒΛૣ͍ͨ͘͠Ϟνϕʔγϣϯ͕͋ͬ

    ͨ
  23. Firebase Performance Monitoring

  24. ໰୊͕ൃ֮ • ͋Δ೔ಥવ͏ͪͷPM͕KyashΛ࢖͑ͳ͘ͳͬ ͨ • ௐ΂ͨͱ͜ΖɺHuaweiͷݹ͍୺຤Ͱىಈ࣌ʹ Ϋϥογϡ͢Δঢ়ଶʹͳͬͯͨ

  25. None
  26. None
  27. SafetyNet • ϧʔτԽͨ͠୺຤΍GoogleͷೝূΛड͚͍ͯ ͳ͍୺຤Λ஄͘ • ΞϓϦ಺͔Βݺ΂ΔAPIͱɺGoogle Play ConsoleͰͷΠϯετʔϧ੍ޚ͕͋Δ

  28. ྫ͑͹͜ΜͳϨϏϡʔ • ͔ͤͬ͘Πϯετʔϧͨ͠ͷʹϧʔτ୺຤Ͱ ͸࢖͑ͳ͍ͬͯݴΘΕ·ͨ͠ɻ
 ΫιΞϓϦ

  29. ͳͥ͜͏ͳΔͷ͔ʁ • ϥϯλΠϜͷΈϧʔτνΣοΫͯ͠΋ɺΠϯε τʔϧ͸Ͱ͖ͯ͠·͏ͷͰɺGoogle PlayͰϨ ϏϡʔΛॻ͔Εͯ͠·͏ • ͦͯ͠େମ˒1͕෇͘ • SafetyNetͳΒɺΠϯετʔϧ࣌ͱϥϯλΠϜͰ

    ಉ͡νΣοΫΛ૸ΒͤΔ͜ͱ͕Ͱ͖Δ
  30. Google Play Developer Console ୺຤Χλϩάˠআ֎͞Εͨ୺຤ˠআ֎ϧʔϧͷ؅ཧ

  31. Google I/O 2018 ஫໨ηογϣϯ

  32. Fragments in the Architecture Components world • AACʹΑͬͯFragmentͷ໾ׂ͕ਐԽͨ͠ • ͦͷ੹຿ͷมߋͱਐߦதͷAPIมߋʹ͍ͭͯ঺

    հ
  33. Protips: a fresh look at advanced topics for Android experts

    • Android͕ग़͔ͯΒ10೥ܦ͚ͭͲɺ૬มΘΒ ͣݹ͍πʔϧ΍API࢖ͬͯΔਓ͕͍Δ • Ϟμϯͳπʔϧ΍ɺඇਪ঑ͷ࣮૷ύλʔϯΛ ঺հ • ͓ͬ͞Μ޲͚ηογϣϯʁ
  34. How to Kotlin - from the Lead Kotlin Language Designer

    • JetBrainsͷKotlinͷϦʔυݴޠઃܭऀʹΑΔ ηογϣϯ • ΑΓKotlinΆ͍ॻ͖ํ΍͋·Γ஌ΒΕͯͳ͍
 ύϫϑϧͳػೳʹ͍ͭͯ঺հͯ͘͠ΕΔ
  35. Android KTX: sweetening Android Kotlin development • JakeਆʹΑΔηογϣϯ • KTXͰ1࣌ؒ࿩͢͜ͱ͋ΔΜͩΖ͏͔

  36. What's new with ConstraintLayout and Android Studio design tools •

    ConstraintLayout 2.0ͷ৽ػೳͷ঺հ
  37. Paging with RecyclerView • AACʹ৽ͨʹ௥Ճ͞ΕͨPaging Libraryͷ঺հ • Room΍Retrofitͱ૊Έ߹ΘͤΔํ๏ͳͲ

  38. Enjoy Google I/O