Navigation Delegation

class NavigationDelegation : NavigationDelegate

Delegation for NavigationDelegate to implement in Activity/Fragment

Author

Jimly A.

Since

29-Mar-22

Constructors

Link copied to clipboard
fun NavigationDelegation()

Functions

Link copied to clipboard
open override fun navigate(    deepLink: Uri,     navOptions: NavOptions?,     navigatorExtras: Navigator.Extras?)

method to run navigation using URI, used for deep link

open override fun navigate(    resId: Int,     args: Bundle?,     navOptions: NavOptions?)

method to run navigation to another fragment

Link copied to clipboard
open override fun registerController(controller: NavController)

method to register the controller to the delegation

Sources

Link copied to clipboard