Google 致力于为黑人社区推动种族平等。查看具体举措

DynamicIncludeNavGraphBuilder

class DynamicIncludeNavGraphBuilder : NavDestinationBuilder<DynamicIncludeGraphNavigator.DynamicIncludeNavGraph>
kotlin.Any
   ↳ androidx.navigation.NavDestinationBuilder<androidx.navigation.dynamicfeatures.DynamicIncludeGraphNavigator.DynamicIncludeNavGraph>
   ↳ androidx.navigation.dynamicfeatures.DynamicIncludeNavGraphBuilder

DSL for constructing a new DynamicIncludeGraphNavigator.DynamicIncludeNavGraph

Summary

Public constructors
<init>(dynamicIncludeGraphNavigator: DynamicIncludeGraphNavigator, @IdRes id: Int, moduleName: String, graphResourceName: String)

DSL for constructing a new DynamicIncludeGraphNavigator.DynamicIncludeNavGraph

Public methods
DynamicIncludeGraphNavigator.DynamicIncludeNavGraph

Inherited functions
Properties
String?

Destination NavGraph's resource package as defined in the module's AndroidManifest.

Inherited properties

Public constructors

<init>

DynamicIncludeNavGraphBuilder(
    dynamicIncludeGraphNavigator: DynamicIncludeGraphNavigator,
    @IdRes id: Int,
    moduleName: String,
    graphResourceName: String)

DSL for constructing a new DynamicIncludeGraphNavigator.DynamicIncludeNavGraph

Parameters
dynamicIncludeGraphNavigator: DynamicIncludeGraphNavigator DynamicIncludeGraphNavigator to use.
id: Int NavGraph id.
moduleName: String Dynamic feature module name as defined in the module's AndroidManifest. This must not be an empty string.
graphResourceName: String Graph's resource name without the navigation qualifier. This must not be an empty string.

Public methods

Properties

graphPackage

var graphPackage: String?

Destination NavGraph's resource package as defined in the module's AndroidManifest. This generally does not need to be manually set and will be set applicationId.moduleName if left null.

This cannot be an empty string.