Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

NavInflater

public final class NavInflater
extends Object

java.lang.Object
   ↳ androidx.navigation.NavInflater


Class which translates a navigation XML file into a NavGraph

Summary

Public constructors

NavInflater(Context context, NavigatorProvider navigatorProvider)

Public methods

NavGraph inflate(int graphResId)

Inflate a NavGraph from the given XML resource id.

Inherited methods

Public constructors

public NavInflater (Context context, 
                NavigatorProvider navigatorProvider)

Parameters
context Context

navigatorProvider NavigatorProvider

Public methods

inflate

public NavGraph inflate (int graphResId)

Inflate a NavGraph from the given XML resource id.

Returns
NavGraph