Android Jetpack: Introducing Navigation Component


The Navigation component is a suite of libraries, tooling and guidance for in-app navigation. The component centralizes all of the navigation information of your app in a navigation graph, providing a robust framework for implementing everything from simple button clicks to complex navigation UI patterns.

Android Studio 3.3 includes the Navigation Editor, which visuals your navigation graph. Other features and benefits include:

– Automatic handling of fragment transactions
– Correctly handling up and back
– Default behaviors for animations and transitions
– Deep linking, including proper backstack generation
– Implementing common patterns like navigation drawers and bottom nav with little additional work using the Navigation UI library →
– Type safety when passing information while navigating using the Safe Args plugin →

To learn more about Navigation, check out:

– The Navigation Component Documentation →
– Navigation Codelab →
– Single Activity: Why, When, and How at Android Dev Summit ’18 →
– Android Studio 3.3 Blogpost →
– Base Navigation Reference Documentation →
– Fragment navigation Reference Documentation →
– Navigation UI Reference Documentation →
– Source code (part of AOSP) →
– Navigation Editor Issue Tracker →
– Navigation Component Issue Tracker (Non Navigation Editor) →


Read more all post Android Technology :
  1. Anudeep Ananth says

    Is there a way in this library save fragment state when navigated away, the fragment is recreated every time onClick and destroyed when left out of the box….

  2. M Cool says

    How to find out what the previous fragment was using the navigation?the previous fragment in navigation control I need to know, which fragment is my previous fragment when 3 fragments navigate to a fragment?

  3. Sudipta Dutta says

    How can I move from number 3 position to number 1 position in bottom navigation with correct fragment in nav controller programmatically in kotlin?

  4. Zeeshan A Zakaria says

    It is years late but a good start. Still more work is needed to make is simpler. This navigation should be build-in and not require mess of additional libraries.

  5. hdk loh says

    What is the solution for onActivityResult() in this architecture..?

  6. Jon Snow says

    why don't you ppl create best practice videos with simple examples. We always have to relay on complex docs or wait for youtube videos.

  7. Manisha Khatri says

    Is it only me who is totally confused!!

  8. tzgardner says

    How do I add animation transitions to a set of fragments where it is a 1 to many relationship? My list of fragments is part of a menu drawer layout and any fragment could be the destination depending on selection.

  9. Claudio Buzzoni says

    Please speak slower.. what you say is too much interesting to miss it!

  10. doom77777 says

    can you stop using kotlin as default? Most people use Java, and Kotlin users understand java, but not the other way around

  11. TS says

    This is amazing! And explained very nicely, thanks!

  12. Anil Philip says

    @Android Developers Please provide a Java codelab for this Navigation framework. There is only a Kotlin one and many of us are coding in Java.

  13. Vikram Yadav says

    Whenever I see her! I'm like oh things to learn again!

  14. Thomas Lefebvre says

    Where to buy this t-shirt? I'm French. Thanks

  15. deroytanaka says

    One thing I liked and hated about iOS development was interface builder glad to see Android is implementing something similar

  16. Don Turner says

    Fantastic video, thanks Lyla!

  17. Usman Yahya says

    What are the Updates to this? #androidDevSummit

  18. samuel owino says

    Looking at this I can't help but compare it to JavaFX Scene builder, or Swing JFrame builder, one thing in common, not suitable for large projects but awesome prototyping tool.

  19. Rakhi Dhavale says

    Migrating legacy code consisting of fragments is going to be a bit time consuming. But navigation component has made structuring the app a bit easy as compared to before.

  20. two bits says

    so no more activity and fragment(Intent), we use only navigation?

  21. Digvesh Kumar says

    Guys, I have been dealing with an issue(a requirement though) where the transaction type is replace by default. But, I need to do an add transaction to the fragments in nav graph. How can I achieve that ?

  22. Elphas Khajira says

    Very simple and easy to follow.When working with the bottom navigation how do you pressing back always goes back to the start destination which may not be the destination the regardless of the previous destination. How do you handle this?

  23. nayan dhabarde says

    Does this replaces fragment state pager adapter

  24. The Sports CEO says

    Thank you. The Code lab is a great resource as well. Great job.

  25. sara mohmad says

    IS'T only me who still confuse?and why they didn't support java in the docs ?

  26. Anil Philip says

    Isn't this just a state machine?

  27. Tùng Nguyễn says

    Please support keep the state of fragments when navigate up.

  28. Kiddi says

    still not even close too xcode storyboard

  29. Pavel says

    longly wanted, I programed own Navigation component that used reflection property of Java. Worked perfectly, Used it in much client projects. interesting that so much years gone before google did it

  30. chibueze oti says

    Sound cool

  31. Youssef Shoaib says

    Small question, is this actually stable? Like should I use it in an actual app?

  32. Ольга Куликова says

    I will get google play console with applications on them (with developer key and source code)

  33. Juan Hurtado says

    Is it still on alpha? I made a sample project few months ago and still had a lot of bugs

  34. EvilGenius2909 says

    Is it possible to use this library without Navigation Graph? With only push/pop method calls

  35. Kasey Schlaudt says

    That is really cool can't wait to start working with it!

  36. Geoffrey Lee says

    Why the udacity course "Develop Android with Kotlin" is stop at chapter 5? is there any update for it?

  37. Dr. Surya kant Jha says

    Hi can you help me out I want to build a OTT application for Android Mobile & tabs but I don't find anything related to this can you give me some tutorial related to this

  38. Geek Moh says

    Solution for my boilerplate code on navigating between fragments. I love it

  39. Mohamed Salama says

    it's probably the time to learn developing in kotlin !!

  40. Rafal Es says

    I must say- this is soo much like xcode 😜 Great solution 😊

  41. Bludau Media says


  42. Mohammed Daoud says


Leave A Reply

Your email address will not be published.