-
public @interface ExternalNavGraph<T extends TypedNavGraphSpec<?, ?>>Can be used in a companion object of a NavGraph annotated annotation to include a NavGraphSpec from another module as nested in the navigation graph.
Example:
@NavGraph<RootGraph> annotation class ProfileGraph { @ExternalNavGraph<AnotherModuleNavGraph> companion object Includes // name of the companion object does not matter }This would create a "Profile" nav graph nested on "Root" graph and with "AnotherModuleNavGraph" as a nested graph of "Profile".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExternalNavGraph.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Booleanstartprivate final Array<DeepLink>deepLinksprivate final KClass<out DestinationStyle.Animated>defaultTransitions
-