Guide to app architectureを踏まえた既存アプリの設計改良 / DroidKaigi 2019

C4221ba79492601eb59a9ef5d4f4bbaa?s=47 nakamuuu
February 08, 2019

Guide to app architectureを踏まえた既存アプリの設計改良 / DroidKaigi 2019

DroidKaigi 2019 での発表資料です。 https://droidkaigi.jp/2019/
Room 2 - 2019/02/08 11:20-11:50

【参考資料 / リンク】
・Guide to app architecture | Android Developers
https://developer.android.com/jetpack/docs/guide
・ウィンドウサイズの変更に強い堅牢な画面の構築 | Speaker Deck
https://speakerdeck.com/nakamuuu/droidkaigi-2018
・DroidKaigi/conference-app-2018 | GitHub
https://github.com/DroidKaigi/conference-app-2018
・StateAwareViewModel - nakamuuu | GitHug Gist
https://gist.github.com/nakamuuu/29d7e358735ab867fb145c210d49f8af
・Of Bundles and ViewModels | ProAndroidDev
https://proandroiddev.com/customizing-the-new-viewmodel-cf28b8a7c5fc
・LiveData with SnackBar, Navigation and other events (the SingleLiveEvent case) | Medium
https://medium.com/androiddevelopers/livedata-with-snackbar-navigation-and-other-events-the-singleliveevent-case-ac2622673150
・nakamuuu/jetpack-architecture-playground | GitHub
https://github.com/nakamuuu/jetpack-architecture-playground

C4221ba79492601eb59a9ef5d4f4bbaa?s=128

nakamuuu

February 08, 2019
Tweet

Transcript

  1. 1.

    Re:valua t ion https://fril.jp/ L ead & Delight User F

    irst Ownership Fail Smart (VJEFUPBQQBSDIJUFDUVSFΛ౿·͑ͨ طଘΞϓϦͷઃܭվྑ
  2. 3.
  3. 20.

      (VJEFUPBQQBSDIJUFDUVSFͷུ֓ͱଊ͑ํ w .PCJMFBQQVTFSFYQFSJFODFT w ϞόΠϧΞϓϦͷ69ʹ͍ͭͯͷલఏ w $PNNPOBSDIJUFDUVSBMQSJODJQMFT w

    ΞʔΩςΫνϟʹؔ͢Δڞ௨ͷݪଇ w 3FDPNNFOEFEBQQBSDIJUFDUVSF w ΞϓϦͷਪ঑ΞʔΩςΫνϟͷৄઆ w #FTUQSBDUJDFT w ίʔυϕʔεͷݎ࿚ੑΛߴΊΔͨΊͷਪ঑ࣄ߲ ଟ෼ϝΠϯ
  4. 24.

      (VJEFUPBQQBSDIJUFDUVSFͷུ֓ͱଊ͑ํ w .PCJMFBQQVTFSFYQFSJFODFT w ϞόΠϧΞϓϦͷ69ʹ͍ͭͯͷલఏ w $PNNPOBSDIJUFDUVSBMQSJODJQMFT w

    ΞʔΩςΫνϟʹؔ͢Δڞ௨ͷݪଇ w 3FDPNNFOEFEBQQBSDIJUFDUVSF w ΞϓϦͷਪ঑ΞʔΩςΫνϟͷৄઆ w #FTUQSBDUJDFT w ίʔυϕʔεͷݎ࿚ੑΛߴΊΔͨΊͷਪ঑ࣄ߲ લఏ ݪଇ ਪ঑ࣄ߲
  5. 26.

      (VJEFUPBQQBSDIJUFDUVSFͷུ֓ͱଊ͑ํ w 4FQBSBUJPOPGDPODFSOTؔ৺ͷ෼཭ w "QQDPNQPOFOUTʹ͸6*΍04Λѻ͏ϩδοΫؚ͚ͩΊΔ w %SJWF6*GSPNBNPEFM6*ΛϞσϧͰૢ࡞͢Δ w

    σʔλͷ؅ཧ੹೚Λ࣋ͭج൫Λ"QQ$PNQPOFOUT͔Βɹɹ ෼཭ͤͯ͞ߏங͢ΔʢՄೳͳΒӬଓϞσϧʣ ݪଇ$PNNPOBSDIJUFDUVSBMQSJODJQMFT
  6. 32.

      طଘΞϓϦͷઃܭվྑ 7JFX "DUJWJUZ'SBHNFOU .PEFM 7JFX.PEFM ""$ w 7JFXϩδοΫΛ੾Γग़͢૚ͷ

    ৽ઃ͸ඞਢ w ͦͷ૚͸"DUJWJUZͷ࠶ੜ੒΍ ը໘ճసͳͲͷߏ੒ͷมߋʹ ڧ͍͜ͱ͕ཁ݅ 7JFX.PEFMΛ࠾༻ "OESPJE"SDIJUFDUVSF$PNQPOFOUT 
  7. 35.
  8. 37.

      طଘΞϓϦͷઃܭվྑ Πϕϯτʢشൃੑʣ ঢ়ଶʢෆشൃੑʣ w ը໘ભҠ w μΠΞϩάͷදࣔ w

    5PBTU4OBDLCBSͷදࣔ w ಡΈࠐΈதͷεςʔλε w ը໘ͷදࣔ಺༰ ˢͬ͘͟Γݴ͏ͱ ʮϨΠΞ΢τʹ൓өͰ͖Δ΋ͷʯ 7JFXʹ൓ө͢Δ΋ͷ
  9. 40.

      طଘΞϓϦͷઃܭվྑ 5JQTΠϕϯτΛෳ਺0CTFSWFSͰ؂ࢹ͍ͨ࣌͠͸ʜʁ w 4JOHMF-JWF&WFOU͸࢖༻ෆՄ w ෳ਺ͷ0CTFSWFSͷ಺ɺҰ͚ͭͩʹ௨஌͞ΕΔڍಈ w 7JFX.PEFM͔Βͷ୯ൃͷΠϕϯτ௨஌ʹ͍ͭͯɹɹ

    4JOHMF-JWF&WFOUͱ͸ผͷख๏΋ଘࡏ͢ΔͷͰཁࢀর ˞-JWF%BUBXJUI4OBDL#BS /BWJHBUJPOBOEPUIFSFWFOUTc"OESPJE%FWFMPQFST.FEJVNࢀߟ