prasannajeet / android-navigation-example

How to use Android Navigation Architecture Component using Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Kotlin 100.0%