Package 

Class DestinationStyle

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class DestinationStyle.Default

      This is the default style used in case none is specified for a given Destination.

      Its animations will be inherited from the ones set at the navigation graph level, using @NavGraph(defaultTransitions = SomeClass::class), if the destination belongs to a graph defined this way, or the com.ramcosta.composedestinations.DestinationsNavHost's defaultTransitions parameter for the top level "NavHost Graph".

      public abstract class DestinationStyle.Animated

      Marks the destination to have defined enter/exit transitions when coming from or going to certain destinations.

      You will need to create an object which implements this interface and use its KClass in com.ramcosta.composedestinations.annotation.Destination.style

      public abstract class DestinationStyle.Dialog

      Marks the destination to be shown as a dialog.

      You can create implementations that define specific DialogProperties or you can use the default values with style = DestinationStyle.Dialog::class

      public class DestinationStyle.Activity