I launch a BottomSheetDialogFragment
from the main fragment with the show function (navigation component can't start DialogFragments).
Now in the BottomSheetDialogFragment
I have a button to move to a detail activity.
I have the BottomSheetDialogFragment
defined in the graph (isolated) and it points to the detail activity.
But when I try to navigate, it can't find the navController. Is it possible to pass the navController to this isolated fragment?
MainFragment to Detail is working DialogFragment to Detail is not working.
I tried: - findNavController: navigation is not set - activity.findNavController(...)