Friday, March 15, 2019

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 → http://bit.ly/2EWYtoV
- Type safety when passing information while navigating using the Safe Args plugin → http://bit.ly/2VR7kPM

To learn more about Navigation, check out:

- The Navigation Component Documentation → http://bit.ly/2TJuhao
- Navigation Codelab → http://bit.ly/2TSa9mB
- Single Activity: Why, When, and How at Android Dev Summit '18 → http://bit.ly/2u5OoRC
- Android Studio 3.3 Blogpost → http://bit.ly/2VWxJMc
- Base Navigation Reference Documentation → http://bit.ly/2EY0Mbn
- Fragment navigation Reference Documentation → http://bit.ly/2UB0ltY
- Navigation UI Reference Documentation → http://bit.ly/2FbXKBL
- Source code (part of AOSP) → http://bit.ly/2UBbHOG
- Navigation Editor Issue Tracker → http://bit.ly/2VWvrws
- Navigation Component Issue Tracker (Non Navigation Editor) → http://bit.ly/2CjXazR


1 comment:

ramesh1313 said...

For navigation drawer and Bottom Navigation combination may refer http://www.androidcoding.in/2020/05/21/android-bottom-navigation-and-navigation-drawer-part-1/