Skip to content

How to use Android Navigation Architecture Component using Kotlin

Notifications You must be signed in to change notification settings

prasannajeet/android-navigation-example

Repository files navigation

Sample App for Android Navigation Architecture Component

This sample application written in pure Kotlin explains how to use the new Android Navigation architecture component which is part of the Android Jetpack in order to easily create navigation graphs similar to Storyboards in iOS

Medium article I wrote with steps to create simple navigation project

Since Navigation architecture component is in alpha, this repository will be constantly updated to consume the latest builds

This sample app has used 3 navigation pathways

  1. From fragment to activity
  2. From one fragment to another
  3. 2 Step navigation involving 3 fragments

Following image shows how the navigation graph is this project.

chart

Additional Reading:

Android Documentation

Android Jetpack — Navigation Library (Part1 — Destinations)

Android Jetpack — Navigation Library (Part2 — Actions)

About

How to use Android Navigation Architecture Component using Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages