ãã¹ããæ¸ããªã人ã®Android MVP
ã¤ã³ãã¬ã¹ NextPublishing
1,980å
990å
(900å+ç¨)
ãç¹ä¾¡ã
é¢é£ãµã¤ã
æ¬æ¸ã®é¢é£ãã¼ã¸ãç¨æããã¦ãã¾ãã
å 容紹ä»
ãã¬ã¬ã·ã¼ãªã³ã¼ããMVPã§åå²ãã¦ãã¹ãå¯è½ã«å¤ããï¼ã
æ¬æ¸ã¯å¤ãã®ããã¸ã§ã¯ãã§éç¨ããã¦ããã¬ã¬ã·ã¼ãªã³ã¼ãããªãã¡ã¯ã¿ãªã³ã°ããå°æ¥çã«ã¢ãã³ãªã³ã¼ãã¨ãã¦ããããã«å¿ è¦ãªãã¹ãã³ã¼ãã®æ¸ãæ¹ã解説ããã¬ã¤ãããã¯ã§ããå°æ¥çã«Dagger2ã«ç½®ãæãããã¨ãç®æ¨ã¨ãã¤ã¤ãããã¤ãã®ã¬ã¬ã·ã¼ãã¿ã¼ã³ã®ãªãã¡ã¯ã¿ãªã³ã°ä¾ãç´¹ä»ãã¦ãã¾ãã
æ¸èªæ å ±
- èè : é«ç å¡ç§
- çºè¡æ¥: 2018-12-28 (ç´æ¸ç±ççºè¡æ¥: 2018-12-28)
- æçµæ´æ°æ¥: 2018-12-28
- ãã¼ã¸ã§ã³: 1.0.0
- ãã¼ã¸æ°: 60ãã¼ã¸(PDFçæç®)
- 対å¿ãã©ã¼ããã: PDF, EPUB
- åºç社: ã¤ã³ãã¬ã¹ NextPublishing
対象èªè
ã¬ã¬ã·ã¼åããAndroidã®ã½ã¼ã¹ã³ã¼ããä»ã©ãã®MVPã«ç½®ãæããããä½ããæãä»ããã°ãããããããªããMVPã«ãã¦ã¿ããã©Presenterã«Viewå´ã®å¦çãå ¥ãè¾¼ãã ããä½ãå¤ãã£ããããããªããMVPã«ãã¦ã¿ããã©çµå±ãã¹ãã³ã¼ããæ¸ããªããDagger2ãRxJavaã使ããªãã¨ãã¹ãã¯æ¸ããªãã¨æã£ã¦ããæ¹
èè ã«ã¤ãã¦
é«ç å¡ç§
æ ªå¼ä¼ç¤¾Newspicksã§Androidã¢ããªãä¸å¿ã«ãµã¼ãã¼ãµã¤ãã®éçºã«æºããããã¹ãã³ã¼ããã©ããã£ããæ¸ããããã«ãªãã®ãèããã®ã好ãã
ç®æ¬¡
第1ç« ãæ¬æ¸ã§ã®MVP
- MVPã¨ã¯ï¼
- MVPã®ããã±ã¼ã¸æ§æ
- æ¬æ¸ã§ä½¿ç¨ããmockã©ã¤ãã©ãªã¼
第2ç« ãMVPåã®å¿å¾
- å¿å¾1ï¼Viewã¨Presenterã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãã声ã«åºãã¦ãæ½åºãã
- å¿å¾2ï¼å¯è½ãªéãViewã«ifãæ¸ããªã
- å¿å¾3ï¼Presenterã®ãã¸ãã¹ãã¸ãã¯ã®å¿å¾
- å¿å¾4ï¼Humble Objectãã¿ã¼ã³
第3ç« ãã·ã³ã°ã«ãã³ã®ä¾ååãé¢ã
- ã·ã³ã°ã«ãã³ã¯ã©ã¹ã®è¾ãã¨ãã
- ã³ã³ã¹ãã©ã¯ã¿ã¤ã³ã¸ã§ã¯ã·ã§ã³
- éçsetã¡ã½ããã®å°å ¥
- ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®æ½åº
- ã©ããã¯ã©ã¹ã§å ã
- ã·ã³ã°ã«ãã³ã¯ã©ã¹ã®ã¡ã½ããã«Contextã®å¼æ°ãâ¦â¦
- ãã®ç« ã®ã¾ã¨ã
第4ç« ãstaticã¡ã½ããä¾åã®æé¤
- staticã¡ã½ããã®è¾ãã¨ãã
- æ®éã®ã¯ã©ã¹ã«å¤ãã
- 移è²ç¨ã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããã®å°å ¥
- ã©ããã¯ã©ã¹
- ãã¹ã¦ã®staticãæªã§ã¯ãªã
第5ç« ãã³ã¼ã«ããã¯ããã¹ã
- ã¤ã³ã¿ã¼ãã§ã¼ã¹ã³ã¼ã«ããã¯ããã¹ããã
- Timerå¦çããã¹ããã
- ä½è£ãããã°ãªãã¸ããªã¼ãã¿ã¼ã³ã«ç½®ãæã
第6ç« ãå¤é¨ã©ã¤ãã©ãªã¼ä¾å
- ãµã¼ããã¼ãã£ã®ã©ã¤ãã©ãªã¼ããã®ã¾ã¾ä½¿ã£ã¦ã¯ãããªã
- ã©ããã¯ã©ã¹ã§å ãã¾ãã¯ãªãã¸ããªã¼ãã¿ã¼ã³ã«ç½®ãæã
- ã³ã³ã¹ãã©ã¯ã¿ã¤ã³ã¸ã§ã¯ã·ã§ã³ãã
第7ç« ãMVPãå®è·µãã¦ã¿ã
- 太ã£ãActivityã®MVPã¸ç½®ãæãã
- 次ã®ã¹ãããã¸