Register now for Android Dev Summit 2019!

ActivityNavigatorDestinationBuilder

class ActivityNavigatorDestinationBuilder : NavDestinationBuilder<ActivityNavigator.Destination>
kotlin.Any
   ↳ androidx.navigation.NavDestinationBuilder<androidx.navigation.ActivityNavigator.Destination>
   ↳ androidx.navigation.ActivityNavigatorDestinationBuilder

DSL for constructing a new ActivityNavigator.Destination

Summary

Public constructors

<init>(navigator: ActivityNavigator, @IdRes id: Int)

DSL for constructing a new ActivityNavigator.Destination

Public methods

ActivityNavigator.Destination

Build the NavDestination by calling Navigator.createDestination.

Inherited functions

Properties

String?

KClass<out Activity>?

Uri?

String?

String?

Inherited properties

Public constructors

<init>

ActivityNavigatorDestinationBuilder(navigator: ActivityNavigator, @IdRes id: Int)

DSL for constructing a new ActivityNavigator.Destination

Public methods

build

fun build(): ActivityNavigator.Destination

Build the NavDestination by calling Navigator.createDestination.

Properties

action

var action: String?

activityClass

var activityClass: KClass<out Activity>?

data

var data: Uri?

dataPattern

var dataPattern: String?

targetPackage

var targetPackage: String?