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

NavInflater

class NavInflater
kotlin.Any
   ↳ androidx.navigation.NavInflater

Class which translates a navigation XML file into a NavGraph

Summary

Public constructors
<init>(@NonNull context: Context, @NonNull navigatorProvider: NavigatorProvider)

Public methods
NavGraph
inflate(@NavigationRes graphResId: Int)

Inflate a NavGraph from the given XML resource id.

Public constructors

<init>

NavInflater(
    @NonNull context: Context,
    @NonNull navigatorProvider: NavigatorProvider)

Public methods

inflate

@NonNull fun inflate(@NavigationRes graphResId: Int): NavGraph

Inflate a NavGraph from the given XML resource id.

Parameters
graphResId Int:
Return
NavGraph