You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
I have an Android project with two flavor_a, flavor_b. flavor_a and flavor_b share common snippets for navigation, but also have a few differences in their workflow. These are different means, you only need to use one fragment instead of the other (the differences are in 2 fragments out of 5)
I tried to create 2 graph for 2 flavor with the same name, but ids didn't generate.
Is it possible to use a different navigation graph with existing fragments and source code?
Source folder structure
-- main
-- common fragment_1
-- common fragment_2
-- common fragment_3
--res
(without graph)
-- flavor_a
-- src
-- fragment_a
-- res
-- navigation
--navigation_graph.xml
-- flavor_b
-- src
-- fragment_b
--res
--navigation
--navigation_graph.xml