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

intro to navigation

intro to navigation

Google IO 2018報告会。
Androidでの navigation というライブラリの発表です。

Shinnosuke Kugimiya

May 29, 2018
Tweet

More Decks by Shinnosuke Kugimiya

Other Decks in Programming

Transcript

  1. © DMM.com ભҠઌ͕"DUJWJUZͰ΋'SBHNFOUͰ΋ಉ͡ॻ͖ํʂ   view.findNavController().navigate(R.id.toDestAction, bundle) ભҠݩ "DUJPO ʁʁʁ

    ભҠݩ͸"DUJPO*EΛࢦఆ͢Δ͚ͩͰɺ ର৅͕"DUJWJUZͩΖ͏ͱ'SBHNFOUͩΖ͏ͱ ಉ͡ίʔυͰॻ͘͜ͱ͕Ͱ͖Δ
  2. © DMM.com TBGFBSHTΛ࢖ͬͨ৔߹   view.findNavController().navigate( HogeFragmentDirections.toDestAction() ) )PHF'SBHNFOULU ੜ੒͞ΕΔ΋ͷ͕ɺ

    ੜ੒͞ΕΔ'SBHNFOU໊ %JSFDUJPOT ͱ͍͏໊લʹͳ͍ͬͯΔɻ ؒҧ͑ͮΒ͍ɺϨϏϡʔͰ͙͢ؾ͚ͮΔɻ
  3. © DMM.com ·ͱΊ   w OBWJHBUJPOͱ͸ը໘ભҠͷͨΊͷϥΠϒϥϦ w /P.PSF'SBHNFOU5SBOTBDUJPO w

    OBWYNM͸ը໘ભҠͷ࢓༷ w TBGFBSHTΛ࢖͏͜ͱͰɺϛεΛݮΒͤΔ