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
280
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
15分で分かった気になる dumpsys
kgmyshin
0
85
UIテストはもうMaestroでいいのかもしれない話
kgmyshin
27
13k
新規開発を始めるときにやるべきこと
kgmyshin
19
8.8k
android app error handling
kgmyshin
1
1.4k
solid+cqs+dry
kgmyshin
35
9.9k
Paging Library ~ アイテムの更新 ~
kgmyshin
2
3.3k
KotlinでReact Native(expo) を使いたい
kgmyshin
2
1.1k
新規チームで新規開発を始める時にやること
kgmyshin
40
8.9k
android-multi-module-with-dagger
kgmyshin
10
6.1k
Other Decks in Programming
See All in Programming
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
190
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
3
3.1k
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
230
ErdMap: Thinking about a map for Rails applications
makicamel
1
930
Rubyでつくるパケットキャプチャツール
ydah
0
350
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
3
970
[Fin-JAWS 第38回 ~re:Invent 2024 金融re:Cap~]FaultInjectionServiceアップデート@pre:Invent2024
shintaro_fukatsu
0
310
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
140
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
620
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
210
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
2.2k
Featured
See All Featured
Docker and Python
trallard
43
3.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Done Done
chrislema
182
16k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
The Invisible Side of Design
smashingmag
299
50k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Designing for Performance
lara
604
68k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
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Λ͏͜ͱͰɺϛεΛݮΒͤΔ