navigate

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

method to run navigation to another fragment

Parameters

resId

resource Id of navigation action

args

arguments to pass data when opening another fragment, default null

navOptions

used for adding action like singleTop when opening another fragment, default null


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

method to run navigation using URI, used for deep link

Parameters

deepLink

Uri for the deep link page of the application

navOptions

used for adding action like singleTop when opening another fragment, default null

Sources

Link copied to clipboard
Link copied to clipboard