Package 

Interface ScopingAnimatedNavHostScope

  • All Implemented Interfaces:
    androidx.compose.animation.AnimatedVisibilityScope , dev.olshevski.navigation.reimagined.AnimatedNavHostScope , dev.olshevski.navigation.reimagined.NavHostScope , dev.olshevski.navigation.reimagined.ScopingNavHostScope

    @Stable() 
    public interface ScopingAnimatedNavHostScope<T extends Object, S extends Object>
     implements AnimatedNavHostScope<T>, ScopingNavHostScope<T, S>
                        

    Provides access to the list of all current NavHostEntries as well as all scoped ViewModelStoreOwners that where specified in scopeSpec of ScopingAnimatedNavHost. Additionally, implements AnimatedVisibilityScope that can be used to access current transition.

    • Method Summary

      Modifier and Type Method Description
      abstract List<NavHostEntry<T>> getHostEntries() List of all current NavHostEntries in the same order their associated entries appear in the backstack.
      abstract Transition<EnterExitState> getTransition()
      abstract Map<S, ScopedNavHostEntry<S>> getScopedHostEntries() ScopedNavHostEntries for all scopes associated with the current destination in scopeSpec
      • Methods inherited from class dev.olshevski.navigation.reimagined.AnimatedNavHostScope

        animateEnterExit
      • Methods inherited from class dev.olshevski.navigation.reimagined.ScopingAnimatedNavHostScope

        getScopedViewModelStoreOwner
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait