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
Navigate to new viewmodel passing a parameter using the new Navigation Service
Have that viewmodel you are navigating to try to use the parameter in the Initialize method
Expected behavior
The viewmodel should have a single instance created and the parameter passed to it in the Initialize method.
Actual behavior
Two viewmodels are created. The first one created runs Initialize with the parameter passed to it. Then a second version of the viewmodel is created and this one is shown but does not have the parameter passed to it.
This is the same thing for WPF that was happening for UWP here: #1905
Configuration
Version: 5.0.2
Platform:
iOS
Android
WPF
UWP
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Create a WPF project
Navigate to new viewmodel passing a parameter using the new Navigation Service
Have that viewmodel you are navigating to try to use the parameter in the Initialize method
Expected behavior
The viewmodel should have a single instance created and the parameter passed to it in the Initialize method.
Actual behavior
Two viewmodels are created. The first one created runs Initialize with the parameter passed to it. Then a second version of the viewmodel is created and this one is shown but does not have the parameter passed to it.
This is the same thing for WPF that was happening for UWP here: #1905
Configuration
Version: 5.0.2
Platform:
The text was updated successfully, but these errors were encountered: