Skip to content

[Question] How to implement UP navigation behavior #4

@WebTiger89

Description

@WebTiger89

Hi,
if we consider the sample, especially the BottomTabsScreen, how would we implement an up navigation behavior, so that navigation goes from nested backstack (no matter if populated or not) to parent backstack.

Additional question. Lets say the navigation history looks like:
A0 --> A1 --> A2 --> B0 (default screen of nested backstack like BottomTabsScreen)

if we press UP button. is the history of parent backstack retained so A2 is displayed or would the default screen of this backstack be displayed (A0)?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions