Package 

Interface ScopingNavHostState

  • All Implemented Interfaces:
    dev.olshevski.navigation.reimagined.NavHostState

    @Stable() 
    public interface ScopingNavHostState<T extends Object, S extends Object>
     implements NavHostState<T>
                        

    Stores and manages saved state and all Android architecture components (Lifecycle, ViewModelStore, SavedStateRegistry) for every entry and every scope.

    • Method Detail

      • getScopedHostEntries

         abstract Map<S, ScopedNavHostEntry<S>> getScopedHostEntries()

        ScopedNavHostEntries for all scopes present in the backstack.

        Note that unlike ScopingNavHostScope.scopedHostEntries, this property provides access to ALL scopes that are associated with current destinations in the backstack, not just the last (current) destination.