NavigationDelegate

NavigationDelegate define functions surrounding the Jetpack androidx.navigation.Navigation implementation

Author

jimlyas

Since

18 Sep 2022 Copyright © 2022-2023 jimlyas. All rights reserved.

Inheritors

Functions

Link copied to clipboard
abstract fun navigateTo(link: Uri, options: NavOptions? = null)

Function to navigate to another androidx.fragment.app.Fragment using Deep Link Uri with Jetpack androidx.navigation.Navigation

abstract fun navigateTo(@IdRes navId: Int, args: Bundle? = null, options: NavOptions? = null)

Function to navigate to another androidx.fragment.app.Fragment using Jetpack androidx.navigation.Navigation

Link copied to clipboard
abstract fun setNavController(controller: NavController)

Function to set a NavController to the component