class NavInflater


Class which translates a navigation XML file into a NavGraph

Summary

Public constructors

NavInflater(context: Context, navigatorProvider: NavigatorProvider)

Public functions

NavGraph
inflate(graphResId: @NavigationRes Int)

Inflate a NavGraph from the given XML resource id.

Public constructors

Added in 1.0.0
NavInflater(context: Context, navigatorProvider: NavigatorProvider)

Public functions

inflate

Added in 1.0.0
fun inflate(graphResId: @NavigationRes Int): NavGraph

Inflate a NavGraph from the given XML resource id.

Parameters
graphResId: @NavigationRes Int
Returns
NavGraph