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
You may find a scenario in which you may have a navigation stack like FlyoutPage/NavigationPage/ViewA/ViewB/ViewC/etc where the ViewModel's share a common shared base class that should be able to define a navigation event. The issue would be that you don't actually know how far back you need to navigate which makes it impractical to do ../../SomePage. For these scenarios we should add a NavigateFromAsync method which takes 2 arguments:
The Name of the View we want to navigate from
The route to navigate from that View
This API should then effectively do the same as ../../SomePage where the ../.. is replaced by going back until we found the View that was specified.
Summary
You may find a scenario in which you may have a navigation stack like
FlyoutPage/NavigationPage/ViewA/ViewB/ViewC/etc
where the ViewModel's share a common shared base class that should be able to define a navigation event. The issue would be that you don't actually know how far back you need to navigate which makes it impractical to do../../SomePage
. For these scenarios we should add aNavigateFromAsync
method which takes 2 arguments:This API should then effectively do the same as
../../SomePage
where the../..
is replaced by going back until we found the View that was specified.API Changes
The text was updated successfully, but these errors were encountered: