Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
intro to navigation
Search
Shinnosuke Kugimiya
May 29, 2018
Programming
1
270
intro to navigation
Google IO 2018報告会。
Androidでの navigation というライブラリの発表です。
Shinnosuke Kugimiya
May 29, 2018
Tweet
Share
More Decks by Shinnosuke Kugimiya
See All by Shinnosuke Kugimiya
UIテストはもうMaestroでいいのかもしれない話
kgmyshin
22
12k
新規開発を始めるときにやるべきこと
kgmyshin
19
8.8k
android app error handling
kgmyshin
1
1.4k
solid+cqs+dry
kgmyshin
35
9.8k
Paging Library ~ アイテムの更新 ~
kgmyshin
2
3.2k
KotlinでReact Native(expo) を使いたい
kgmyshin
2
1.1k
新規チームで新規開発を始める時にやること
kgmyshin
40
8.4k
android-multi-module-with-dagger
kgmyshin
10
6k
kotlin linter
kgmyshin
12
15k
Other Decks in Programming
See All in Programming
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
180
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
260
Missing parts when designing and implementing Android UI
ericksli
0
170
RubyLSPのマルチバイト文字対応
notfounds
0
120
ヤプリ新卒SREの オンボーディング
masaki12
0
130
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
Quine, Polyglot, 良いコード
qnighy
4
650
Click-free releases & the making of a CLI app
oheyadam
2
120
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Agile that works and the tools we love
rasmusluckow
327
21k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Pragmatic Product Professional
lauravandoore
31
6.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Statistics for Hackers
jakevdp
796
220k
A designer walks into a library…
pauljervisheath
204
24k
Typedesign – Prime Four
hannesfritz
40
2.4k
Speed Design
sergeychernyshev
25
620
Transcript
© DMM.com !LHNZTIJO (PPHMF*0ࢀՃใࠂձ *OUSPUPOBWJHBUJPO
© DMM.com w LHNZTIJOఝٶ ͗͘Έ w "OESPJEΤϯδχΞ w %..DPNϥϘ$50ࣨॴଐ
w ݄͔Β ࣗݾհ
© DMM.com BHFOEB
© DMM.com w OBWJHBUJPOͱ w ͳʹ͕خ͍͠ͷ͔ʁ w ભҠάϥϑʹ͍ͭͯ w TBGFBSHTʹ͍ͭͯ
w ·ͱΊ BHFOEB
© DMM.com ͜ͷൃදͰઆ໌͠ͳ͍͜ͱ w OBWJHBUJPOͷࡉ͔͍ಋೖํ๏ w OBWJHBUJPOͷकΔ͖ݪଇ w %FFQ-JOLͷઃఆํ๏ w
#PUUPN/BWJHBUJPOͱ͔5PPMCBSͱ͔ͷ࿈ܞํ๏ w ͳͲͳͲࡉ͔͍༰
© DMM.com ͕͍࣌ؒͷͰʜ IUUQTJOTJEFENNDPNFOUSZBOESPJEOBWJHBUJPO ৄ͘͠ɺϒϩάΛݟΔ͔ɺ࠙ձͰ͔͚͍ͯͩ͘͠͞ʂ
© DMM.com ͜ͷൃදΰʔϧ OBWJHBUJPO͕Ͳ͏͍͏ͷ͔Θ͔Γɺ Կ͕خ͍͠ͷ͔ͷΠϝʔδΛ࣋ͬͯΒ͏͜ͱ
© DMM.com OBWJHBUJPOͱ
© DMM.com OBWJHBUJPOͱ OBWYNMΛॻ͍ͯɺ ͦΕ௨Γʹʢ։ൃऀ͕ʣભҠͤ͞Δ͜ͱͰɺ ը໘ભҠΛ༰қʹ͢ΔϥΠϒϥϦ
© DMM.com /BWJHBUJPO&EJUPSͰOBWYNMΛॻ͍ͯ
© DMM.com YNMʹભҠάϥϑΛॻ͍ͦΕ௨Γʹʢ։ൃऀ͕ʣભҠͤ͞Δ view.findNavController().navigate(R.id.toDestAction, bundle) దͳॴͰɺ దͳ*%ͱɺదʹ࡞ͬͨ#VOEMFΛ OBWJHBUJPOϝιουʹࢦఆ͢Ε
͜Ε͚ͩͰɺը໘ભҠ͕Ͱ͖Δʂ
© DMM.com ͳʹ͕خ͍͠ͷ͔ʁ
© DMM.com /PNPSFGSBHNFOUUSBOTBDUJPO ղͳ 'SBHNFOU5SBOTBDUJPOΛ Ұߟ͑ͳͯ͘ྑ͘ͳΔ SFQMBDF BEE
TIPX DPNNJU DPNNJU/PX
© DMM.com ભҠάϥϑʹΑͬͯը໘ભҠ͕Ұྎવ ը໘ભҠ͕Ұྎવʂ
© DMM.com ʜ ը໘ભҠ͕Ұྎવʂ
© DMM.com ʜ ը໘ભҠ͕Ұྎવʂ ʜJ04ͷ4UPSZCPBSEͰ
© DMM.com ʜ ը໘ભҠ͕Ұྎવʂ ը໘4UPSZCPBSEͱ͔ ͦͦΘͳ͍ͱ͔ Έ͍ͨͳ͕ग़͖ͯͯΔ͚Ͳ "OESPJEಉ͡ײ͡ʹͳΔͷʁ
© DMM.com 4UPSZCPBSEͱͷҧ͍ 4UPSZCPBSE "OESPJEͰ͍͏MBZPVUYNM ը໘ભҠ OBWJHBUJPOը໘ભҠͷΈ
© DMM.com ભҠઌ͕"DUJWJUZͰ'SBHNFOUͰಉ͡ॻ͖ํʂ view.findNavController().navigate(R.id.toDestAction, bundle) ભҠݩ "DUJPO ʁʁʁ
ભҠݩ"DUJPO*EΛࢦఆ͢Δ͚ͩͰɺ ର͕"DUJWJUZͩΖ͏ͱ'SBHNFOUͩΖ͏ͱ ಉ͡ίʔυͰॻ͘͜ͱ͕Ͱ͖Δ
© DMM.com OBWYNMʹ͍ͭͯ
© DMM.com OBWYNM ભҠ͕Ұྎવ
© DMM.com OBWYNM ͨͩɺ͜ͷάϥϑભҠͷ ༷ͷΑ͏ͳͷͱࢥͬͨํ͕ ͍͍͔
© DMM.com ҙ OBWYNMΛॻ͍ͯɺ ͦΕ௨Γʹʢ։ൃऀ͕ʣભҠͤ͞Δ͜ͱͰɺ ը໘ભҠΛ༰қʹ͢ΔϥΠϒϥϦ
© DMM.com ҙ OBWYNMΛॻ͍ͯɺ ͦΕ௨Γʹʢ։ൃऀ͕ʣભҠͤ͞Δ͜ͱͰɺ ը໘ભҠΛ༰қʹ͢ΔϥΠϒϥϦ զʑ։ൃऀ͕୲อ͠ͳ͚ΕͳΒͳ͍
© DMM.com ҙ OBWYNMΛॻ͍ͯɺ ͦΕ௨Γʹʢ։ൃऀ͕ʣભҠͤ͞Δ͜ͱͰɺ ը໘ભҠΛ༰қʹ͢ΔϥΠϒϥϦ view.findNavController().navigate(R.id.toDestAction, bundle)
ͦΕ௨ΓͰͳ͍߹ɺ
© DMM.com ҙ OBWYNMΛॻ͍ͯɺ ͦΕ௨Γʹʢ։ൃऀ͕ʣભҠͤ͞Δ͜ͱͰɺ ը໘ભҠΛ༰қʹ͢ΔϥΠϒϥϦ view.findNavController().navigate(R.id.toDestAction, bundle)
ͦΕ௨ΓͰͳ͍߹ɺ *MMFHBM"SHVNFOU&YDFQUJPO
© DMM.com TBGFBSHTʹ͍ͭͯ
© DMM.com OBWJHBUFϝιουʹJEΛࢦఆ͢Δ view.findNavController().navigate(R.id.toDestAction, bundle) ؒҧͬͨJEΛࢦఆ͠ͳ͍ͨΊʹ ໋໊نଇΛ͢Δ͜ͱͰ ͍͘Β͔ܰݮͰ͖Δ
© DMM.com OBWJHBUFϝιουʹJEΛࢦఆ͢Δ view.findNavController().navigate(R.id.toDestAction, bundle) ؒҧͬͨJEΛࢦఆ͠ͳ͍ͨΊʹ ໋໊نଇΛ͢Δ͜ͱͰ ͍͘Β͔ܰݮͰ͖Δ
TBGFBSHTΛ͑ͬͱܰݮͰ͖Δʂ
© DMM.com TBGFBSHTΛͬͨ߹ view.findNavController().navigate( HogeFragmentDirections.toDestAction() ) )PHF'SBHNFOULU
© DMM.com TBGFBSHTΛͬͨ߹ view.findNavController().navigate( HogeFragmentDirections.toDestAction() ) )PHF'SBHNFOULU ͦͷը໘͔Βੜ͑ͯΔભҠ͕ϝιουʹͳΔɻ
Ұݸ͔͠ભҠ͕ͳ͍߹ɺ Ұݸ͔͠ϝιου͕ੜ͑ͳ͍ͷͰ ؒҧ͑Α͏͕ͳ͍ɻ
© DMM.com TBGFBSHTΛͬͨ߹ view.findNavController().navigate( HogeFragmentDirections.toDestAction() ) )PHF'SBHNFOULU ੜ͞ΕΔͷ͕ɺ
ੜ͞ΕΔ'SBHNFOU໊ %JSFDUJPOT ͱ͍͏໊લʹͳ͍ͬͯΔɻ ؒҧ͑ͮΒ͍ɺϨϏϡʔͰ͙͢ؾ͚ͮΔɻ
© DMM.com TBGFBSHT͍͖ͬͯ·͠ΐ͏ TBGFBSHT͍͖ͬͯ·͠ΐ͏
© DMM.com ·ͱΊ
© DMM.com ·ͱΊ w OBWJHBUJPOͱը໘ભҠͷͨΊͷϥΠϒϥϦ w /P.PSF'SBHNFOU5SBOTBDUJPO w
OBWYNMը໘ભҠͷ༷ w TBGFBSHTΛ͏͜ͱͰɺϛεΛݮΒͤΔ