Package dev. burnoo. cokoin. navigation
Functions
get Nav Controller
Link copied to clipboard
Gets current NavHostController instance from the closest parent KoinNav
get Nav View Model
Link copied to clipboard
@Composable
Content copied to clipboard
Gets ViewModel from Koin using root NavBackStackEntry as ViewModelStoreOwner. Needs to be called inside KoinNav or KoinNavHost.
Koin Nav
Link copied to clipboard
@Composable
Content copied to clipboard
Composable wrapper to store NavHostController. Should be used to wrap NavHost. getNavViewModel and getNavController works in the Composable content.
Koin Nav Host
Link copied to clipboard
@Composable
Content copied to clipboard
@Composable
Content copied to clipboard
Short for wrapping NavHost with KoinNav. Parameters: the same as NavHost.