Navigation Delegate

interface NavigationDelegate

Interface to define functions to use to implement Navigation Component natively to Fragment

Author

Jimly A.

Since

29-Mar-22

Functions

Link copied to clipboard
abstract fun navigate(    deepLink: Uri,     navOptions: NavOptions? = null,     navigatorExtras: Navigator.Extras? = null)

method to run navigation using URI, used for deep link

abstract fun navigate(    @IdRes resId: Int,     args: Bundle? = null,     navOptions: NavOptions? = null)

method to run navigation to another fragment

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

method to register the controller to the delegation

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard