Joao Birk
06/02/2020, 7:13 PMoverride fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
if (currentNavController?.value?.handleDeepLink(intent) == false) {
...
}
}
I understand the problem, basically the currentNavController.value
which has the navigation_graph_2.xml
doesnt have such deep link set...how can I check if other graphs (tabs) support such deep link and then navigate to the desired tab?Ian Lake
06/02/2020, 7:43 PMlaunchMode
on your activity, which would remove the need for onNewIntent()
and NavigationExtensions would handle it for you, since it checks through every graph to find a matching deep linkJoao Birk
06/02/2020, 7:52 PM