Navigation Parameters when using SelectTabAsync (XF) #2444
Unanswered
arturgromek
asked this question in
Xamarin.Forms
Replies: 1 comment 1 reply
-
Initialize isn't called when switching tabs. You need to use OnNavigatedTo |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using XF version v4.8 and Prism v7.2, and have a question about using the SelectTabAsync extension method.
I can pass in the navigation parameters to SelectTabAsync, but how can I access them?
I am implementing the INavigatedAware and IInitialize interfaces in my base view model.
The Iniitalize function isn't called with the parameters when the tab is selected, so is there some way to get the values passed when selecting tabs?
I am currently testing on android, and haven't tried iOS, but will need it to work for both.
Beta Was this translation helpful? Give feedback.
All reactions