-
- All Implemented Interfaces:
-
androidx.compose.animation.AnimatedVisibilityScope,com.ramcosta.composedestinations.scope.DestinationScope,com.ramcosta.composedestinations.scope.DestinationScopeWithNoDependencies
@Immutable() public interface AnimatedDestinationScope<T extends Object> implements DestinationScope<T>, AnimatedVisibilityScope
Like DestinationScope but also AnimatedVisibilityScope so that you can use this Scope as a receiver of your Animated or Default styled Composable
-
-
Method Summary
Modifier and Type Method Description abstract TypedDestinationSpec<T>getDestination()DestinationSpec related to this scope abstract NavBackStackEntrygetNavBackStackEntry()NavBackStackEntry of the current destination abstract NavControllergetNavController()NavController related to the NavHost abstract DestinationsNavigatorgetDestinationsNavigator()DestinationsNavigator useful to navigate from this destination abstract TgetNavArgs()Class holding the navigation arguments passed to this destination or Unit if the destination has no arguments abstract Transition<EnterExitState>getTransition()-
-
Method Detail
-
getDestination
abstract TypedDestinationSpec<T> getDestination()
DestinationSpec related to this scope
-
getNavBackStackEntry
abstract NavBackStackEntry getNavBackStackEntry()
NavBackStackEntry of the current destination
-
getNavController
abstract NavController getNavController()
NavController related to the NavHost
-
getDestinationsNavigator
abstract DestinationsNavigator getDestinationsNavigator()
DestinationsNavigator useful to navigate from this destination
-
getNavArgs
abstract T getNavArgs()
Class holding the navigation arguments passed to this destination or Unit if the destination has no arguments
-
getTransition
abstract Transition<EnterExitState> getTransition()
-
-
-
-