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:
- trigger some events, such as
push and pop
- the api provides the Navigation.getCurrentScreen()
i think the first way is better, but now, how can i do it ?
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:
pushandpopi think the first way is better, but now, how can i do it ?