NavInflater
-
android
class NavInflater
Class which translates a navigation XML file into a NavGraph
Summary
Public constructors |
|
|---|---|
NavInflater(context: Context, navigatorProvider: NavigatorProvider) |
android
|
Public functions |
||
|---|---|---|
NavGraph |
inflate(graphResId: @NavigationRes Int)Inflate a NavGraph from the given XML resource id. |
android
|
Public constructors
Public functions
inflate
fun inflate(graphResId: @NavigationRes Int): NavGraph
Inflate a NavGraph from the given XML resource id.
| Parameters | |
|---|---|
graphResId: @NavigationRes Int |
| Returns | |
|---|---|
NavGraph |