I have a scenario where page A can navigate to page B, and page B can navigate to page C, but A can also navigate to C and I want B to be inserted in the stack so that navigating back from C always ends on B.
More graphically, I want to allow these navigations:
A --> B --> C (back) B (back) A
(normal navigation)A --> C (back) B (back) A
(as if B was always between A and C)
The simple answer is to set a bit in my viewmodel that tells B to navigate to C right away after loading. Is there a cleaner way? Apart from the design guidelines, are there other reasons against this behavior?
Thank you.