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

全て S になる -RxJava と LWS を持ち込む楽しさ-

全て S になる -RxJava と LWS を持ち込む楽しさ-

DroidKaigi 2017 day 1, 17:10 JST

Ryutaro Miyashita

March 09, 2017
Tweet

More Decks by Ryutaro Miyashita

Other Decks in Technology

Transcript

  1. +BDLךⵖ秈 +BDLJTOPUTJMWFSCVMMFU  *OTUBOU3VOָ⢪ִתׇ׿  ؽٕسָ鹼ְדׅ  ♧鿇ؽٕس堣腉ָ⢪ִתׇ׿  ⢽

    TISJOL3FTPVSDFT  ،فٔךغ؎شٔ؟؎ؤ׮㣐ֹֻז׶תׅ   4USFBNװ0QUJPOBMכ"1*-W⟃♳ָ䗳銲דׅ  植㖈"OESPJEYךءؑ،כדׅ   ⢪ִ׷״ֲחז׷ךכ勻⚅ IUUQTHJUIVCDPNTZTZBHJBOESPJENFUIPEDPVOUT IUUQTEFWFMPQFSBOESPJEDPNBCPVUEBTICPBSETJOEFYIUNM
  2. 3FUSPMBNCEBד䩛חⰅ׷+BWBך堣腉  -BNCEB䒭  ًاحسٔؿ؋ٖٝأ  USZXJUISFTPVSDFT  0CKFDUTSFRVJSF/PO/VMM 

    رؿٕؓزًاحس  JOUFSGBDFⰻךTUBUJDًاحس -BNCEB䒭הًاحسٔؿ؋ٖٝأ⵸䲿דֶ鑧׾鹌׭תׅ IUUQTHJUIVCDPNFWBOUHSBEMFSFUSPMBNCEB 䩛חⰅ׷׮ךכ鎉铂堣腉鿇ⴓ
  3. 3Y+BWB  "OESPJE"1*ך汒ְהֿ׹׾酡׏גֻ׸תׅ  ꬊず劍Ⳣ椚  ؎كٝز鸐濼  4USFBN"1*ך״ֲח׮堣腉׃תׅ 

    ؝ؙٖءّٝ乼⡲  ꬊず劍٥ず劍׾䠐陎ׇ׆חⳢ椚׾剅ֽתׅ  ًاحسثؑ٦ٝח״׷鎸鶢  أ؛آُ٦ٓ٦׾⢪׏׋أٖحسⴖ׶剏ִ 3FBDUJWF&YUFOTJPOTGPS+7. IUUQTHJUIVCDPN3FBDUJWF93Y+BWB
  4. 3Y+BWBXJUI  3Y#JOEJOH   "OESPJEך7JFXה3Y+BWB׾穠ןאֽ׷  3Y"OESPJE  

    6*أٖحس欽ךأ؛آُ٦ٓ٦׾䲿⣘ׅ׷  3Y-JGFDZDMF   "OESPJEך歗꬗ٓ؎ؿ؟؎ؙٕה穠ןאֽ׷ 3FBDUJWF&YUFOTJPOTGPS+7. IUUQTHJUIVCDPN+BLF8IBSUPO3Y#JOEJOH IUUQTHJUIVCDPN3FBDUJWF93Y"OESPJE IUUQTHJUIVCDPNUSFMMP3Y-JGFDZDMF
  5.          

    3Y+BWB ずׄⳢ椚׾"TZOD5BTLד剅ֻה               
  6. 3Y+BWB׾䭯׍鴥׬嚂׃ׁ  ؝ؙٖءّٝ乼⡲װꬊず劍Ⳣ椚ָأحؗٔ剅ֽתׅ  طأزָ帾ֻז׶תׇ׿  ♳ַ׵♴חⳢ椚׾剅ְגְֽל0,דׅ  0CTFSWBCMF4USFBN 

    'MVFOU*OUFSGBDF  3Y#JOEJOHזו"OESPJE鸬䵿ٓ؎ـָٓٔ⯍㹋׃גְתׅ  7JFXך֮׵ײ׷؎كٝز׾3Y+BWBדⳢ椚〳腉דׅ  ؎كٝزך崧ꆀⵖ䖴׮知⽃חדֹתׅ  ⢽ 俑㶵Ⰵ⸂׾NT׀החⵖ䖴ׅ׷ 5IFGVOPG3Y+BWB
  7. -JHIUXFJHIU4USFBN"1*  4USFBN"1*  ؝ؙٖءّٝ乼⡲"1*  0QUJPOBM"1*  ⦼ָזְַ׮׃׸זְֿה׾邌植דֹ׷"1* 

    &YDFQUJPOBM"1* 杝荈   㹑鎉涸ח鎸鶢דֹ׷USZDBUDIך➿剏"1* 4USFBN"1*GSPN+BWBSFXSJUUFOPOJUFSBUPSTGPS+BWBBOECFMPX IUUQTHJUIVCDPNB//J.0/-JHIUXFJHIU4USFBN"1*
  8. -84׾䭯׍鴥׬嚂׃ׁ  طأزָ帾ֻז׶תׇ׿  ♳ַ׵♴חⳢ椚׾剅ְגְֽל0,דׅ  'MVFOU*OUFSGBDF  ؝ؙٖءّٝ乼⡲׾⤑ⵃח遤ִתׅ 

    ⦼ך꧊鎘׾圫ղז䕎ד遤ֲֿהָדֹתׅ  0QUJPOBMכ/1&ה䨌ֲ䓼⸂ז娀㐻הז׶תׅ  "OESPJE4%,כ⡦ָOVMM׾鵤ַׅⴓַ׶תׇ׿  ת׋כ'SBHNFOUך《䖤זו䩛竲ָֹ撕꧟זⳢ椚׾
 أحؗٔה鎸鶢ׅ׷ֿהָדֹ׷״ֲחז׶תׅ 5IFGVOPG-JHIUXFJHIU4USFBN"1*
  9. ؒٓ٦عٝسؚٔٝ㉏겗 &SSPSIBOEMJOHQSPCMFNPG3Y+BWB  3Y+BWBך㣟侁כPO&SSPSח5ISPXBCMF׾䫎־׷  PO&SSPSָ勻׷ה♧鸬ך飑铣כ穄✪׃תׅ  ⢽ִל8FC"1*ךؙٔؒأزח㣟侁׃׋׵  ׮ֲ♧䏝ِ٦ؠ٦ָٔزٓ؎ׅ׸ל䧭⸆ׅ׷ַ׮

     ד׮نةؙٝٔحؙ؎كٝزכ׮ֲ飑铣穄✪˘˘  䟝㹀ⰻך㣟侁הծ䠐㔳׃זְ⢽㢩׾ⴓֽ׋ְ  1BJS#PPMFBO 5׾⢪׏ג姻や׾溪⩝⦼ד然ַ׭׷  1BJS*OUFHFS 5׾⢪׏גؒٓ٦؝٦س׾⡲׷  PO&SSPS3FUVSOװPO&SSPS3FTVNF/FYU׾⢪ֲ
  10. &JUIFS5ZQF .PSFCFUUFS3Y+BWBFSSPSIBOEMJOH        

                    IUUQTHJTUHJUIVCDPNSZVHPPEFEDCCCBDDCDG  -FGU㘗ַ3JHIU㘗ך⦼
 ׾䗳׆䭯׏גְ׷  鎉ְ䳔ִ׸לծו׍׵ַ
 ך⦼כ䗳׆䭯׏גְזְ  ⦼׾䭯׏גְזְֿה׾ծ
 0QUJPOBMד邌植ׅ׷  䢪⢽涸ח3JHIU⩎ח
 姻הז׷⦼׾Ⰵ׸׷
  11.          

    Ⰻג4USFBNחז׷          4USFBN 0QUJPOBM 3Y+BWB
  12.  "OESPJE،فٔ׮+BWBך䛷䜋׾「ֽ׵׸׷  +BDLכת׌㹋欽媮ꥡדכזְ  3FUSPMBNCEBד  -BNCEB䒭הًاحسٔؿ؋ٖٝأ  +BWBך4USFBN"1*0QUJPOBM"1*כ䓼⸂

     ؝ؙٖءّٝ乼⡲כ4USFBN"1*  ⦼ָ㶷㖈׃זְֿה׾邌植דֹ׷0QUJPOBM"1*  暴ח0QUJPOBMכ"OESPJE4%,הך湱䚍ָ葺ְ  ⢽ 'SBHNFOU.BOBHFS  3Y+BWBכ"OESPJE4%,ךַײְהֿ׹ח䩛ָ㾈ֻ  ꬊず劍Ⳣ椚ה؎كٝزغأ  ؝ؙٖءّٝ乼⡲׮〳腉 Ⰻג4USFBNחז׷
  13.  3Y+BWB-JHIUXFJHIU4USFBN"1*  0CTFSWBCMF4USFBNװ4USFBN׾䪔ֲ  圫ղז⦼װ؎كٝز׾㢌⻉ׇׁג穠卓׾《䖤ׅ׷  'MVFOUJOUFSGBDFח״׷崧׸׷״ֲז؝٦س  ♳ַ׵♴פⳢ椚ָ崧׸גְֻ

     ًاحسثؑ٦ٝד邌植  ؽُ٦ך؎كٝزװؽآطأٗآحؙח⣛׵זְ  ⰋגךⳢ椚ָずׄ״ֲז䕎ד邌植דֹ׷״ֲחז׷  Ⰻג4USFBNחז׷  Ⰻג4חז׷ Ⰻג4USFBNחז׷