androidx.navigation:navigation-runtime

Official Description: Android Navigation-Runtime

CommonsWare’s Notes

This artifact contains the foundation classes for navigation, particularly NavController, our primary API for navigating via nav graphs.

Most likely, you will get this artifact through transitive dependencies from navigation-fragment or possibly navigation-runtime-ktx.

As with many other pieces of the Jetpack, the Navigation component pre-dates the Jetpack and the androidx namespace. If you see references to android.arch packages or android.arch.navigation artifacts, those are the Android Architecture Components precursor to the Jetpack Navigation component. Material referring to those older classes may be somewhat out of date, though the roles of the different classes should be the same.

Documentation

Knowledge

Samples

Versions