navigateTo

open override fun navigateTo(navId: Int, args: Bundle?, options: NavOptions?)

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

Parameters

navId

resource Id for action that link to navigate the androidx.fragment.app.Fragment

args

arguments or any data to pass that will be used in destination androidx.fragment.app.Fragment, by default null

options

used to store special options for navigation actions for example animation and single top, by default null


open override fun navigateTo(link: Uri, options: NavOptions?)

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

Parameters

link

the deeplink Uri for opening androidx.fragment.app.Fragment

options

used to store special options for navigation actions for example animation and single top, by default null