-
public final class NavGraphBuilderDestinationScopeKt
-
-
Method Summary
Modifier and Type Method Description final static <R extends Any> ResultBackNavigator<R>resultBackNavigator(NavGraphBuilderDestinationScope<?> $self, NavController navController, DestinationsNavType<in R> resultNavType)Returns a well typed ResultBackNavigator for this NavGraphBuilderDestinationScopeWhen calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter. final static <D extends TypedDestinationSpec<?>, R extends Any> ResultRecipient<D, R>resultRecipient(NavGraphBuilderDestinationScope<?> $self, DestinationsNavType<in R> resultNavType)Returns a well typed ResultRecipient for this NavGraphBuilderDestinationScopeWhen calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter. -
-
Method Detail
-
resultBackNavigator
@Composable() final static <R extends Any> ResultBackNavigator<R> resultBackNavigator(NavGraphBuilderDestinationScope<?> $self, NavController navController, DestinationsNavType<in R> resultNavType)
Returns a well typed ResultBackNavigator for this NavGraphBuilderDestinationScope
When calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter.
- Parameters:
resultNavType- DestinationsNavType for the R type, which will handle serialization of the result.
-
resultRecipient
@Composable() final static <D extends TypedDestinationSpec<?>, R extends Any> ResultRecipient<D, R> resultRecipient(NavGraphBuilderDestinationScope<?> $self, DestinationsNavType<in R> resultNavType)
Returns a well typed ResultRecipient for this NavGraphBuilderDestinationScope
When calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter.
- Parameters:
resultNavType- DestinationsNavType for the R type, which will handle serialization of the result.
-
-
-
-