Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val navArgTitle: String

Functions

Link copied to clipboard
fun <T : ToolbarLayout> T.setupNavigation(bottomTabLayout: BottomTabLayout, navHostFragment: <Error class: unknown class>, configuration: <Error class: unknown class> = AppBarConfiguration(bottomTabLayout.bottomTabLayoutMenu, null), toolbarBackThreshold: Float = 0.75f)

Sets up navigation for ToolbarLayout with a BottomTabLayout and NavHostFragment. Supports both XML and programmatically created navigation graphs (NavGraphBuilder DSL).

fun <T : DrawerLayout> T.setupNavigation(drawerNavigationView: DrawerNavigationView, navHostFragment: <Error class: unknown class>, configuration: <Error class: unknown class> = AppBarConfiguration(drawerNavigationView.getDrawerMenu(), this), toolbarBackThreshold: Float = 0.75f, lockWithDrawer: Boolean = true)

Sets up navigation for DrawerLayout with a DrawerNavigationView and NavHostFragment. Supports both XML and programmatically created navigation graphs (NavGraphBuilder DSL).

fun <T : ToolbarLayout> T.setupNavigation(bottomTabLayout: BottomTabLayout, navHostFragment: <Error class: unknown class>, startDestination: KClass<*>, route: KClass<*>? = null, configuration: <Error class: unknown class> = AppBarConfiguration(bottomTabLayout.bottomTabLayoutMenu, null), toolbarBackThreshold: Float = 0.75f, builder: <Error class: unknown class>.() -> Unit)
fun <T : DrawerLayout> T.setupNavigation(drawerNavigationView: DrawerNavigationView, navHostFragment: <Error class: unknown class>, startDestination: KClass<*>, route: KClass<*>? = null, configuration: <Error class: unknown class> = AppBarConfiguration(drawerNavigationView.getDrawerMenu(), this), toolbarBackThreshold: Float = 0.75f, lockWithDrawer: Boolean = true, builder: <Error class: unknown class>.() -> Unit)

Overload for programmatic navigation graph creation using NavGraphBuilder DSL.