How to navigate to sibling pages of NavController child pages?


I have an ion-list with items that leads to:

  • Child Page A
  • Child Page B
  • Child Page C

When on Child Page B, I want to navigate to previous (Child Page A) and next (Child Page C) pages, while maintaining the back button to go back to the parent page.

An example of this would be Mail app in iOS. When you are viewing a mail, it gives you up and down arrows to move to previous/next mail.

I couldn’t find anything in the docs that describes this behavior.