androidx.navigation.testing
Classes
TestNavHostController | 
              
                 Subclass of   | 
              
                 android 
                 | 
            
TestNavigatorState | 
              
                 An implementation of   | 
              
                 android 
                 | 
            
Extension functions summary
operator SavedStateHandle | 
              
                
                 SavedStateHandle constructor to create a SavedStateHandle with a serializable object.  | 
              
                 Cmn 
                 | 
            
Extension functions
invoke
operator fun SavedStateHandle.Companion.invoke(
route: Any,
typeMap: Map<KType, NavType<*>> = emptyMap()
): SavedStateHandle
SavedStateHandle constructor to create a SavedStateHandle with a serializable object.
Returns a SavedStateHandle populated with arguments from route.
Note: To use this api in non-instrumented tests, run with robolectric. This is because android's Bundle is necessarily integrated into the parsing of route arguments.