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

Pairs JapanにおけるActionLogの目的と実装について

7e6a79d3fd57e49905f6f4fe53550021?s=47 zukkey
June 15, 2018
730

Pairs JapanにおけるActionLogの目的と実装について

meet upで話した際の資料です
後ほど、コードも載せます

7e6a79d3fd57e49905f6f4fe53550021?s=128

zukkey

June 15, 2018
Tweet

Transcript

  1. Copyright © 2018 eureka, Inc. All rights reserved. Pairs Japanʹ͓͚Δ

    ActionLogͷ໨తͱ࣮૷ʹ͍ͭͯ eureka Meet Up #10 -PairsͷAndroid։ൃͷཪଆ- @zukkey
  2. Copyright © 2018 eureka, Inc. All rights reserved. 2 ɾzukkey

    ɾeureka, Inc. / Android Engineer ɾ2017/9 eureka Join! ࣗݾ঺հ Twitter: @zukkey59
  3. Copyright © 2018 eureka, Inc. All rights reserved. 3 ಥવͰ͕͢ɺ

  4. Copyright © 2018 eureka, Inc. All rights reserved. 4 ࣗલͰϩάܭଌͷ࢓૊ΈΛ

    ࣮૷ͨ͜͠ͱ͕͋Δํ ͲΕ͘Β͍͍Βͬ͠Ό͍·͔͢ʁ
  5. Copyright © 2018 eureka, Inc. All rights reserved. 5 ͸ʔ͍ʂ

  6. Copyright © 2018 eureka, Inc. All rights reserved. 6 Today’s

    topic !
  7. Copyright © 2018 eureka, Inc. All rights reserved. ࣗલͰϩάܭଌͷ࢓૊ΈΛ࡞Δࡍʹɺਏ͔ͬͨ͜ͱ ࠓ೔͓఻͍͑ͨ͜͠ͱ

  8. Copyright © 2018 eureka, Inc. All rights reserved. ࣗલͰϩάܭଌͷ࢓૊ΈΛ࡞Δࡍʹɺਏ͔ͬͨ͜ͱ ࠓ೔͓఻͍͑ͨ͜͠ͱ

  9. Copyright © 2018 eureka, Inc. All rights reserved. ࣗલͰϩάܭଌͷ࢓૊ΈΛ࡞Δࡍʹɺਏ͔ͬͨ͜ͱ ࠓ೔͓఻͍͑ͨ͜͠ͱ

    ActionLog
  10. Copyright © 2018 eureka, Inc. All rights reserved. 10 Today’s

    goal !
  11. Copyright © 2018 eureka, Inc. All rights reserved. ಉ͡Α͏ʹࣗલͰϩάܭଌͷ࣮૷ʹ೰ΜͰ͍Δਓʹ Կ͔̍ͭͰ΋໾ʹཱͯͨΒخ͍͠

    ࠓ೔ͷ໨ඪ
  12. Copyright © 2018 eureka, Inc. All rights reserved. ۩ମతͳίʔυϨϕϧͷ࿩͸௕͘ͳΔͷͰக͠·ͤΜ ޙ೔ɺެ։εϥΠυʹิ଍͢Δ͔

    ϒϩάهࣄʹͯެ։༧ఆͰ͢ ࠓ೔࿩͞ͳ͍͜ͱ
  13. Copyright © 2018 eureka, Inc. All rights reserved. 13 ਃ͠༁͍͟͝·ͤΜ

  14. Copyright © 2018 eureka, Inc. All rights reserved. 14 ɾActionLogΛ௥Ճͨ͠എܠͱ໨త

    ɾActionLogઃܭ౰ॳ ɾActionLogͷ࣮૷ʹؔͯ͠Ϳͪ౰ͨͬͨน ɾActionLogͷ࣮૷ʹؔͯ͠ͷղܾํ๏ ɾ͓ΘΓʹ Agenda
  15. Copyright © 2018 eureka, Inc. All rights reserved. 15 ֎෦αʔϏεʹґଘͤͣʹɺ

    Ϣʔβʔͷߦಈ৘ใͱͯ͠ɺΞΫγϣϯͷൃੜ͔Β ΰʔϧʹࢸΔ·ͰͷྲྀΕΛ஌Γ͍ͨ ActionLogΛ௥Ճͨ͠എܠ
  16. Copyright © 2018 eureka, Inc. All rights reserved. 16 ྫ͑͹

  17. Copyright © 2018 eureka, Inc. All rights reserved. 17 ͕͢͞ը໘ͳΒ…

  18. Copyright © 2018 eureka, Inc. All rights reserved. 18 ͕͢͞ը໘ͳΒ…

  19. Copyright © 2018 eureka, Inc. All rights reserved. 19 ͕͢͞ը໘ͳΒ…

    Tap!
  20. Copyright © 2018 eureka, Inc. All rights reserved. 20 ͕͢͞ը໘ͳΒ…

    ͓૬खৄࡉը໘
  21. Copyright © 2018 eureka, Inc. All rights reserved. 21 ͭ·Γ

  22. Copyright © 2018 eureka, Inc. All rights reserved. 22 ActionLogΛ௥Ճͨ͠໨త

    Ϣʔβʔ͕Ͳͷը໘Λදࣔͯ͠ભҠ͠ɺ ͲͷΞΫγϣϯΛى͔ͨ͜͠ɺ Ұ࿈ͷྲྀΕͷϩάΛऔΔ
  23. Copyright © 2018 eureka, Inc. All rights reserved. 23 ActionLogΛ௥Ճͨ͠໨త

    ActionLogΛूܭͯ͠ɺ ϢʔβʔߦಈΛ෼ੳ͠Α͏ʂ
  24. Copyright © 2018 eureka, Inc. All rights reserved. 24 ͔͜͜Β͕ɺຊ୊

  25. Copyright © 2018 eureka, Inc. All rights reserved. 25 ActionLogΛಋೖ͢Δʹ͋ͨͬͯɺ

    ઃܭ౰ॳ͸ϩάૹ৴ͷ࢓૊ΈΛ BaseActivityͱBaseFragmentͷonResumeʹ ࢓ࠐΉ͜ͱʹͨ͠ ActionLogઃܭ౰ॳ
  26. Copyright © 2018 eureka, Inc. All rights reserved. 26 ͍͚Δʂ

  27. Copyright © 2018 eureka, Inc. All rights reserved. 27 ͔͠͠ɾɾɾ

  28. Copyright © 2018 eureka, Inc. All rights reserved. 28 ͋Εʁ͏·͍͔͘ͳ͍ɻɻɻ

  29. Copyright © 2018 eureka, Inc. All rights reserved. 29 ෳ਺ͷFragment͕ॏͳ͍ͬͯΔ৔߹Ͱ͸

    onResumeʹϩάΛ࢓ࠐΉͱɺ ͏·͍͔͘ͳ͍ ࣮ࡍʹൃੜͨ͠໰୊
  30. Copyright © 2018 eureka, Inc. All rights reserved. 30 Pager

    In Pager ໰୊
  31. Copyright © 2018 eureka, Inc. All rights reserved. 31 ࠓճ͸ɺPairs

    Japanͷ ɹ ϝοηʔδը໘Λྫʹઆ໌͠·͢ Pager In Pager໰୊
  32. Copyright © 2018 eureka, Inc. All rights reserved. MainTabBarActivity.java Activity

    ϝοηʔδը໘ͷߏ੒
  33. Copyright © 2018 eureka, Inc. All rights reserved. SeparatedMessageFragment.java ϝοηʔδը໘ͷߏ੒

    ਌ͷFragment Activity MainTabBarActivity.java
  34. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    MessagingUsersFragment.java ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java
  35. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java ͜͜ͷϩάΛऔΓ͍ͨ MessagingUsersFragment.java
  36. Copyright © 2018 eureka, Inc. All rights reserved. 36 onResumeʹϩάΛ࢓ࠐΜͩ৔߹….

  37. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java શ෦ͷϩά͕ग़Δ MessagingUsersFragment.java
  38. Copyright © 2018 eureka, Inc. All rights reserved. 38 Ͳ͏͠Α͏……

  39. Copyright © 2018 eureka, Inc. All rights reserved. 39 onResumeʹ࢓ࠐΜͰ͠·͏ͱɺ

    View͕දࣔ͞ΕͨλΠϛϯάͰૹͬͯ͠·͏ Կ͕໰୊͔ͩͬͨ
  40. Copyright © 2018 eureka, Inc. All rights reserved. 40 BaseActivity΍BaseFragmentͷonResumeͰ

    ϩάΛૹ৴͢ΔॲཧΛ࣋ͨͤΔ͜ͱΛ΍Ίͯɺ Pager In Pager໰୊ͷղܾҊ
  41. Copyright © 2018 eureka, Inc. All rights reserved. 41 BaseActivity΍BaseFragmentͷonResumeͰ

    ϩάΛૹ৴͢ΔॲཧΛ࣋ͨͤΔ͜ͱΛ΍Ίͯɺ ֤ը໘ͷActivity΍Fragmentʹͯૹ৴͢ΔΑ͏ʹมߋ Pager In Pager໰୊ͷղܾҊ
  42. Copyright © 2018 eureka, Inc. All rights reserved. 42 ͦ͜Ͱɺɺɺ

  43. Copyright © 2018 eureka, Inc. All rights reserved. 43 ΠϯλʔϑΣʔεͰϩάͷૹ৴Λ͢Δ͔൱͔ͱ͍͏

    ໾ׂΛ΋ͭɺ Pager In Pager໰୊ͷղܾҊ
  44. Copyright © 2018 eureka, Inc. All rights reserved. 44 ΠϯλʔϑΣʔεͰϩάͷૹ৴Λ͢Δ͔൱͔ͱ͍͏

    ໾ׂΛ΋ͭɺsendScreenEventIfTrackable()ͱ͍͏ ɹ ؔ਺Λఆٛ͠ɺBaseΫϥεʹ࣋ͨͤͨ Pager In Pager໰୊ͷղܾҊ
  45. Copyright © 2018 eureka, Inc. All rights reserved. 45 ઌ΄Ͳͱಉ͡Α͏ʹɺ

    ɹ ϝοηʔδը໘Λྫʹઆ໌͠·͢ Pager In Pager໰୊
  46. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    MessagingUsersFragment.java ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java
  47. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() MessagingUsersFragment.java
  48. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() ͜͜Ͱ͸Կ΋͠ͳ͍ MessagingUsersFragment.java
  49. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java MessagingUsersFragment.java
  50. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() MessagingUsersFragment.java
  51. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() ͜͜Ͱ͸Կ΋͠ͳ͍ MessagingUsersFragment.java
  52. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java MessagingUsersFragment.java
  53. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() MessagingUsersFragment.java
  54. Copyright © 2018 eureka, Inc. All rights reserved. Swipe! MatchingUsersFragment.java

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java ϩάૹ৴ sendScreenEventIfTrackable() MessagingUsersFragment.java
  55. Copyright © 2018 eureka, Inc. All rights reserved. 55 τοϓμ΢ϯͷྲྀΕͰಛఆͷλʔήοτʹϩάૹ৴ͷ

    ॲཧΛݺͿ͜ͱͰղܾ Pager In Pager໰୊ͷղܾҊ
  56. Copyright © 2018 eureka, Inc. All rights reserved. 56 ࢼߦࡨޡͨ݁͠Ռ…

  57. Copyright © 2018 eureka, Inc. All rights reserved. 57 ແࣄʹActionLogΛऔΕΔΑ͏ʹͳͬͨʂ

  58. Copyright © 2018 eureka, Inc. All rights reserved. 58 Fin.

  59. Copyright © 2018 eureka, Inc. All rights reserved. 59 Fin.

  60. Copyright © 2018 eureka, Inc. All rights reserved. 60 ࣮͸……

  61. Copyright © 2018 eureka, Inc. All rights reserved. 61 ɾandroid-job

    ɾEvernote੡ϥΠϒϥϦ ɾόοΫάϥ΢ϯυͰδϣϒΛ ɹΑ͠ͳʹॲཧͯ͘͠ΕΔ ActionLogͰ࢖༻͍ͯ͠ΔϥΠϒϥϦ
  62. Copyright © 2018 eureka, Inc. All rights reserved. 62 ઌ೔ɺ

    evernoteͷํͷTwitterʹ͜Μͳ͜ͱ͕… ͓ΘΓʹ
  63. Copyright © 2018 eureka, Inc. All rights reserved. 63 ͓ΘΓʹ

  64. Copyright © 2018 eureka, Inc. All rights reserved. 64 ͱ͍͏͜ͱ͸ɺͭ·Γ……

  65. Copyright © 2018 eureka, Inc. All rights reserved. –zukkey Զͨͪͷઓ͍͸ɺ͜Ε͔Βͩ

    65
  66. Copyright © 2018 eureka, Inc. All rights reserved. –zukkey Զͨͪͷઓ͍͸ɺ͜Ε͔Βͩ

    Τ΢ϨΧͰ͸ɺҰॹʹཱͪ޲͔ͬͯ͘ΕΔ஥ؒΛืू͍ͯ͠·͢ɻ ڵຯΛ͍͚࣋ͬͯͨͩͨํ͸ɺWantedly͔Βͷ͝ԠืΛΑΖ͓͘͠ئ͍க͠·͢ɻ https://www.wantedly.com/projects/167675 66