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

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

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

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

7e6a79d3fd57e49905f6f4fe53550021?s=128

zukkey

June 15, 2018
Tweet

Transcript

  1. 1.

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

    ActionLogͷ໨తͱ࣮૷ʹ͍ͭͯ eureka Meet Up #10 -PairsͷAndroid։ൃͷཪଆ- @zukkey
  2. 2.

    Copyright © 2018 eureka, Inc. All rights reserved. 2 ɾzukkey

    ɾeureka, Inc. / Android Engineer ɾ2017/9 eureka Join! ࣗݾ঺հ Twitter: @zukkey59
  3. 4.

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

    ࣮૷ͨ͜͠ͱ͕͋Δํ ͲΕ͘Β͍͍Βͬ͠Ό͍·͔͢ʁ
  4. 14.

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

    ɾActionLogઃܭ౰ॳ ɾActionLogͷ࣮૷ʹؔͯ͠Ϳͪ౰ͨͬͨน ɾActionLogͷ࣮૷ʹؔͯ͠ͷղܾํ๏ ɾ͓ΘΓʹ Agenda
  5. 15.

    Copyright © 2018 eureka, Inc. All rights reserved. 15 ֎෦αʔϏεʹґଘͤͣʹɺ

    Ϣʔβʔͷߦಈ৘ใͱͯ͠ɺΞΫγϣϯͷൃੜ͔Β ΰʔϧʹࢸΔ·ͰͷྲྀΕΛ஌Γ͍ͨ ActionLogΛ௥Ճͨ͠എܠ
  6. 22.

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

    Ϣʔβʔ͕Ͳͷը໘Λදࣔͯ͠ભҠ͠ɺ ͲͷΞΫγϣϯΛى͔ͨ͜͠ɺ Ұ࿈ͷྲྀΕͷϩάΛऔΔ
  7. 23.

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

    ActionLogΛूܭͯ͠ɺ ϢʔβʔߦಈΛ෼ੳ͠Α͏ʂ
  8. 25.

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

    ઃܭ౰ॳ͸ϩάૹ৴ͷ࢓૊ΈΛ BaseActivityͱBaseFragmentͷonResumeʹ ࢓ࠐΉ͜ͱʹͨ͠ ActionLogઃܭ౰ॳ
  9. 29.

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

    onResumeʹϩάΛ࢓ࠐΉͱɺ ͏·͍͔͘ͳ͍ ࣮ࡍʹൃੜͨ͠໰୊
  10. 31.

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

    Japanͷ ɹ ϝοηʔδը໘Λྫʹઆ໌͠·͢ Pager In Pager໰୊
  11. 34.

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

    MessagingUsersFragment.java ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java
  12. 35.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java ͜͜ͷϩάΛऔΓ͍ͨ MessagingUsersFragment.java
  13. 37.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java શ෦ͷϩά͕ग़Δ MessagingUsersFragment.java
  14. 39.

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

    View͕දࣔ͞ΕͨλΠϛϯάͰૹͬͯ͠·͏ Կ͕໰୊͔ͩͬͨ
  15. 40.

    Copyright © 2018 eureka, Inc. All rights reserved. 40 BaseActivity΍BaseFragmentͷonResumeͰ

    ϩάΛૹ৴͢ΔॲཧΛ࣋ͨͤΔ͜ͱΛ΍Ίͯɺ Pager In Pager໰୊ͷղܾҊ
  16. 41.

    Copyright © 2018 eureka, Inc. All rights reserved. 41 BaseActivity΍BaseFragmentͷonResumeͰ

    ϩάΛૹ৴͢ΔॲཧΛ࣋ͨͤΔ͜ͱΛ΍Ίͯɺ ֤ը໘ͷActivity΍Fragmentʹͯૹ৴͢ΔΑ͏ʹมߋ Pager In Pager໰୊ͷղܾҊ
  17. 44.

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

    ໾ׂΛ΋ͭɺsendScreenEventIfTrackable()ͱ͍͏ ɹ ؔ਺Λఆٛ͠ɺBaseΫϥεʹ࣋ͨͤͨ Pager In Pager໰୊ͷղܾҊ
  18. 45.

    Copyright © 2018 eureka, Inc. All rights reserved. 45 ઌ΄Ͳͱಉ͡Α͏ʹɺ

    ɹ ϝοηʔδը໘Λྫʹઆ໌͠·͢ Pager In Pager໰୊
  19. 46.

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

    MessagingUsersFragment.java ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java
  20. 47.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() MessagingUsersFragment.java
  21. 48.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() ͜͜Ͱ͸Կ΋͠ͳ͍ MessagingUsersFragment.java
  22. 49.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java MessagingUsersFragment.java
  23. 50.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() MessagingUsersFragment.java
  24. 51.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() ͜͜Ͱ͸Կ΋͠ͳ͍ MessagingUsersFragment.java
  25. 52.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java MessagingUsersFragment.java
  26. 53.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java sendScreenEventIfTrackable() MessagingUsersFragment.java
  27. 54.

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

    ϝοηʔδը໘ͷߏ੒ ࢠͷFragment ਌ͷFragment Activity MainTabBarActivity.java SeparatedMessageFragment.java ϩάૹ৴ sendScreenEventIfTrackable() MessagingUsersFragment.java
  28. 61.

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

    ɾEvernote੡ϥΠϒϥϦ ɾόοΫάϥ΢ϯυͰδϣϒΛ ɹΑ͠ͳʹॲཧͯ͘͠ΕΔ ActionLogͰ࢖༻͍ͯ͠ΔϥΠϒϥϦ
  29. 62.

    Copyright © 2018 eureka, Inc. All rights reserved. 62 ઌ೔ɺ

    evernoteͷํͷTwitterʹ͜Μͳ͜ͱ͕… ͓ΘΓʹ
  30. 66.

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

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