Package 

Interface DependenciesContainerBuilder

  • All Implemented Interfaces:
    com.ramcosta.composedestinations.scope.DestinationScopeWithNoDependencies

    
    public interface DependenciesContainerBuilder<T extends Object>
     implements DestinationScopeWithNoDependencies<T>
                        

    Interface through which you can add dependencies to a DestinationDependenciesContainer. Use dependency methods to do that. DestinationsNavHost has a lambda called for each destination with an instance of this interface which lets you add dependencies to it.

    Each dependency added is associated with a given class (reified in dependency). The calling Destination can then declare arguments of those class types or super types.