I using Navigation component to show all fragments. Because I have to show several instance of a fragment (please see this question and it's answer) and also I need to access some fragment in any other fragments I using deep links to show any fragments.
findNavController().navigate(Uri.parse("myapp://post/?serialized_post=$query"))
is there any drawback to use this way in all navigation instead of this?:
findNavController().navigate(R.id.action_firstpage_to_secondpage)
1.4m articles
1.4m replys
5 comments
56.9k users