I have an Android project with three flavour_a , flavour_b and flavour_c. flavour_a and flavour_b using the same navigation graph. For flavour_c workflow is different means only need to use a subset of fragments.
Is it possible to use a different navigation graph with existing fragments and source code.
I tried a new navigation graph with existing fragment but failed with error:
AAPT: error: resource id/splashFragment (aka com.sample.app:id/splashFragment) not found.
Source folder structure
-- main
-- src
-- res
-- navigation
--navigation_graph.xml
-- flavour_c
--res
--navigation
--navigation_graph.xml