Skip to content

How to get the current screen? #75

@musicode

Description

@musicode

i call navigator.push() to push a screen, then i press back button.

if i want to get the current screen, i thick there are two ways:

  1. trigger some events, such as push and pop
  2. the api provides the Navigation.getCurrentScreen()

i think the first way is better, but now, how can i do it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions