You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Let's say I have MainScreenA divided in half. Top half is some content, and bottom half is NestedNavigation.
NestedNavigation starts with NestedScreenA. Some button navigates from NestedScreenA to NestedScreenB.
Now NestedScreenB wants to get access to the main navigator and navigate from MainScreenA to MainScreenB.
Of course i want to save the state of NestedScreens so when i go back i will see NestedScreenB and after another back - NestedScreenA.
What is the best way to archive that? How can i get parent navigator from nested navigation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Let's say I have MainScreenA divided in half. Top half is some content, and bottom half is NestedNavigation.
NestedNavigation starts with NestedScreenA. Some button navigates from NestedScreenA to NestedScreenB.
Now NestedScreenB wants to get access to the main navigator and navigate from MainScreenA to MainScreenB.
Of course i want to save the state of NestedScreens so when i go back i will see NestedScreenB and after another back - NestedScreenA.
What is the best way to archive that? How can i get parent navigator from nested navigation?
Beta Was this translation helpful? Give feedback.
All reactions