DynamicActivityNavigatorDestinationBuilder


@<Error class: unknown class>
class DynamicActivityNavigatorDestinationBuilder


DSL for constructing a new DynamicActivityNavigator.Destination

Summary

Public constructors

This function is deprecated. Use routes to build your DynamicActivityDestination instead

DSL for constructing a new DynamicActivityNavigator.Destination

Public constructors

DynamicActivityNavigatorDestinationBuilder

Added in 2.3.0
Deprecated in 2.4.0
DynamicActivityNavigatorDestinationBuilder(
    activityNavigator: DynamicActivityNavigator,
    id: @IdRes Int
)

DynamicActivityNavigatorDestinationBuilder

Added in 2.4.0
DynamicActivityNavigatorDestinationBuilder(
    activityNavigator: DynamicActivityNavigator,
    route: String
)

DynamicActivityNavigatorDestinationBuilder

DynamicActivityNavigatorDestinationBuilder(
    activityNavigator: DynamicActivityNavigator,
    route: KClass<*>,
    typeMap: Map<KType<Error class: unknown class><<Error class: unknown class>>>
)

DSL for constructing a new DynamicActivityNavigator.Destination

Parameters
activityNavigator: DynamicActivityNavigator

navigator used to create the destination

route: KClass<*>

the route from a KClass of the destination

typeMap: Map<KType<Error class: unknown class><<Error class: unknown class>>>

map of destination arguments' kotlin type KType to its respective custom NavType. May be empty if route does not use custom NavTypes.

Public functions

build

Added in 2.3.0
open fun build(): DynamicActivityNavigator.Destination

Public properties

action

Added in 2.3.0
var actionString?

activityClassName

Added in 2.3.0
var activityClassNameString?

data

Added in 2.3.0
var dataUri?

dataPattern

Added in 2.3.0
var dataPatternString?

moduleName

Added in 2.3.0
var moduleNameString?

targetPackage

Added in 2.3.0
var targetPackageString?