BackDestination

@Serializable
open class BackDestination(val result: Any? = null, val args: Destination.Args = Destination.Args()) : Destination

Pass this as parameter to the NavigationController.navigate to return to the previous screen in the current backstack.

Parameters

result

The result that will be delivered to the destination when navigating back. The payload is opaque to the navigation system, held in memory only and is not serialized.

Constructors

Link copied to clipboard
constructor(result: Any? = null, args: Destination.Args = Destination.Args())

Properties

Link copied to clipboard
open override val args: Destination.Args
Link copied to clipboard
@Transient
val result: Any?