I have two destinations A (Master) and B (Detail). I have the following actions:
- A to B
- B to B (next item)
This works fine, but it's the up
and back
behaviour I'm just not getting right.
When I get from A to B and I press either back
or up
I go back to A.
This is working as expected.
But when I have done the following navigation: A -> B -> B I need back
to go to the previous B and up to go to A.
How do I configure my NavGraph in such a way that this happens?
To be clear, with back
I mean the 'device' back button, and with up
i mean the button in the ActionBar