Package 

Annotation NavHostGraph


  • @Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS}) 
    public @interface NavHostGraph
    
                        

    Like NavGraph but denotes a top level nav graph, i.e one that is not nested in any other nav graph (aka it doesn't have a parent). These are used to pass to com.ramcosta.composedestinations.DestinationsNavHost call.

    RootGraph is one such graph that can be used out of the box.