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

KotlinとRetrofitは便利

 KotlinとRetrofitは便利

きりみん

July 19, 2016
Tweet

More Decks by きりみん

Other Decks in Technology

Transcript

  1. ,PUMJOͱ3FUSPpU͸ ศར ,PUMJOελʔτϒοΫग़൛ه೦NFFUVQ !LJSJNJO

  2. !LJSJNJO w IUUQLJSJNJONF w ϑϦʔͷ"OESPJEΤϯδχΞ w ,PUMJOͰ৭ʑΞϓϦ࡞ͬͨΓ ͯ͠·͢ w ࢓ࣄͰ΋,PUMJO࢖͍͍ͨʜ

  3. ࠓ೔ͷ࿩ w ,PUMJOͱ3FUSPpUͰ"1*ΫϥΠΞϯτΞϓϦΛ࡞ͬ ͨΒָͩͬͨΑͱ͍͏࿩ w ର৅͸·ͩ,PUMJOಋೖ໎ͬͯΔਓͱ͔
 ͜ͷձ৔ʹ͸ډͳ͍ͷͰ͸ʜ

  4. ࠷ۙ࡞ͬͨΞϓϦ

  5. "OOJDUSPJE w "OOJDUͱ͍͏Ξχϝࢹௌ؅ཧαʔϏεͷ"OESPJE ΫϥΠΞϯτΞϓϦ w ެࣜͷ"OOJDU"1*Λར༻ w ίʔυ͸Φʔϧ,PUMJO w ॳճϦϦʔε·Ͱ͸೔͘Β͍Ͱγϡοͱ࡞ͬͨ

  6. ओͳར༻ϥΠϒϥϦ w ,PUMJO"OESPJE&YUFOTJPOT w 3FUSPpU w 3Y"OESPJE w (TPO

  7. ओͳར༻ϥΠϒϥϦ w ,PUMJO"OESPJE&YUFOTJPOT w 3FUSPpU w 3Y"OESPJE w (TPO

  8. !(&5 WXPSLT  4JOHMF8PSLTXPSLT !2VFSZ BDDFTT@UPLFO 4USJOHUPLFO  !2VFSZ pMUFS@JET

    4USJOHXPSL*ET  +BWBͰͷ3FUSPpU
  9. !(&5 WXPSLT  4JOHMF8PSLTXPSLT !2VFSZ BDDFTT@UPLFO 4USJOHUPLFO  !2VFSZ pMUFS@JET

    4USJOHXPSL*ET  !2VFSZ pMUFS@TFBTPO 4USJOHTFBTPO  !2VFSZ pMUFS@UJUMF 4USJOHUJUMF  !2VFSZ QBHF 4USJOHQBHF  !2VFSZ QFS@QBHF 4USJOHQFS1BHF  !2VFSZ TPSU@JE 4USJOHTPSU*E  !2VFSZ TPSU@TFBTPO 4USJOHTPSU4FBTPO  !2VFSZ TPSU@XBUDIFST@DPVOU 4USJOHTPSU8BUDIFST  ύϥϝʔλ͕૿͑Δͱʜ
  10. 4JOHMF8PSLTP SFUSPpUDSFBUF "OOJDU4FSWJDFDMBTT XPSLT UPLFO JE OVMM OVMM OVMM 

    OVMM OVMM OVMM OVMM  4JOHMF8PSLTP SFUSPpUDSFBUF "OOJDU4FSWJDFDMBTT XPSLT UPLFO OVMM pMUFS4FBTPO OVMM OVMM OVMM OVMM OVMM OVMM  ਏ͍
  11. !(&5 WXPSLT  4JOHMF8PSLTXPSLT !2VFSZ BDDFTT@UPLFO 4USJOHUPLFO  !2VFSZ pMUFS@JET

    4USJOHXPSL*ET  !(&5 WXPSLT  4JOHMF8PSLTXPSLT'JMUFS4FBTPO !2VFSZ BDDFTT@UPLFO 4USJOHUPLF !2VFSZ pMUFS@TFBTPO 4USJOHTFBTPO  !2VFSZ TPSU@XBUDIFST@DPVOU 4USJOHTPSU8BUDIFST  !(&5 WXPSLT  4JOHMF8PSLTXPSLT'JMUFS5JUMF !2VFSZ BDDFTT@UPLFO 4USJOHUPLFO  !2VFSZ pMUFS@UJUMF 4USJOHUJUMF  !2VFSZ TPSU@XBUDIFST@DPVOU 4USJOHTPSU8BUDIFST  ༻్͝ͱͷϝιουఆٛ
  12. !(&5 WXPSLT  4JOHMF8PSLTXPSLT !2VFSZ BDDFTT@UPLFO 4USJOHUPLFO  !2VFSZ.BQ.BQ4USJOH 4USJOHPQUJPOT

     2VFSZ.BQ
  13. !(&5 WXPSLT  GVOXPSLT !2VFSZ BDDFTT@UPLFO UPLFO4USJOH  !2VFSZ pMUFS@JET

    XPSL*ET4USJOH  !2VFSZ pMUFS@TFBTPO TFBTPO4USJOH  !2VFSZ pMUFS@UJUMF UJUMF4USJOH  !2VFSZ QBHF QBHF4USJOH  !2VFSZ QFS@QBHF QFS1BHF4USJOH%&'"6-5@1&3@1"(&  !2VFSZ TPSU@JE TPSU*E4USJOH  !2VFSZ TPSU@TFBTPO TPSU4FBTPO4USJOH  !2VFSZ TPSU@XBUDIFST@DPVOU TPSU8BUDIFST4USJOH%&4$  4JOHMF8PSLT ,PUMJOͰͷ3FUSPpU
  14. !(&5 WXPSLT  GVOXPSLT !2VFSZ BDDFTT@UPLFO UPLFO4USJOH  !2VFSZ pMUFS@JET

    XPSL*ET4USJOH  !2VFSZ pMUFS@TFBTPO TFBTPO4USJOH  !2VFSZ pMUFS@UJUMF UJUMF4USJOH  !2VFSZ QBHF QBHF4USJOH  !2VFSZ QFS@QBHF QFS1BHF4USJOH%&'"6-5@1&3@1"(&  !2VFSZ TPSU@JE TPSU*E4USJOH  !2VFSZ TPSU@TFBTPO TPSU4FBTPO4USJOH  !2VFSZ TPSU@XBUDIFST@DPVOU TPSU8BUDIFST4USJOH%&4$  4JOHMF8PSLT *OUFSGBDFΛͦͷ··"1*࢓༷ͱͯ͠ ఆٛग़དྷΔͷͰ෼͔Γ΍͍͢ ೚ҙ߲໨ʹ͸ OVMMPSۭจࣈ σϑΥϧτ஋Λઃఆ
  15. WBMPSFUSPpUDSFBUF "OOJDU4FSWJDFDMBTTKBWB  XPSLT UPLFOUPLFO XPSL*ETUBSHFU*E  WBMPSFUSPpUDSFBUF "OOJDU4FSWJDFDMBTTKBWB 

    XPSLT UPLFOUPLFO QBHFQBHF TFBTPODVSSFOU4FBTPO  ݺͼग़࣌͠΋ඞཁͳύϥϝʔλΛ બΜͰ౉͚ͩ͢ͳͷͰ෼͔Γ΍͍͢
  16. ݺͼग़࣌͠΋ඞཁͳύϥϝʔλΛ બΜͰ౉͚ͩ͢ͳͷͰ෼͔Γ΍͍͢

  17. !(&5 \WFSTJPO^XPSLT  GVOXPSLT !)FBEFS $BDIF$POUSPM DBDIF4USJOHNBYBHF  !1BUI WFSTJPO

    WFSTJPO4USJOHW  !2VFSZ BDDFTT@UPLFO UPLFO4USJOH  !2VFSZ pMUFS@JET XPSL*ET4USJOH  !2VFSZ pMUFS@TFBTPO TFBTPO4USJOH  !2VFSZ pMUFS@UJUMF UJUMF4USJOH  !2VFSZ QBHF QBHF4USJOH  !2VFSZ QFS@QBHF QFS1BHF4USJOH  !2VFSZ TPSU@JE TPSU*E4USJOH  !2VFSZ TPSU@TFBTPO TPSU4FBTPO4USJOH  !2VFSZ TPSU@XBUDIFST@DPVOU TPSU8BUDIFST4USJOH  4JOHMF8PSLT )FBEFS΍1BUIΛσϑΥϧτ Ҿ਺Ͱఆ͓ٛͯ͘͠ࣄ΋ग़དྷΔ
  18. ·ͱΊ w ,PUMJOͩͱศརͳ3FUSPpU͕ΑΓศརʹ w ଞʹ΋"OESPJE&YUFOTJPOT΍3Y"OESPJEͳͲΛ࢖ ͑͹ҰਓͰ΋୹͍ίʔυͰγϡοͱΞϓϦ͕࡞ΕΔ w ,PUMJOͰ3FUSPpU΍3YΛ࢖ͬͨΞϓϦͷ࡞Γํ͸
 ,PUMJOελʔτϒοΫʹ΋ࡌͬͯΔΑʂ

  19. ,PUMJO੡ΞϓϦ"OOJDUSPJEΛ ࠓ͙͢νΣοΫʂ w IUUQTQMBZHPPHMFDPNTUPSFBQQTEFUBJMT JENFLJSJNJOBOOJDUSPJEIMKB w IUUQTHJUIVCDPNLJSJNJO"OOJDUSPJE

  20. ͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠