Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPF Navigation Service doesn't work with parameter #1921

Closed
1 of 4 tasks
bregol opened this issue Jun 8, 2017 · 3 comments
Closed
1 of 4 tasks

WPF Navigation Service doesn't work with parameter #1921

bregol opened this issue Jun 8, 2017 · 3 comments
Labels
t/bug Bug type up-for-grabs Issues up for grabs by anyone
Milestone

Comments

@bregol
Copy link

bregol commented Jun 8, 2017

Steps to reproduce

  1. Create a WPF project

  2. Navigate to new viewmodel passing a parameter using the new Navigation Service

  3. 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
@martijn00 martijn00 added t/bug Bug type up-for-grabs Issues up for grabs by anyone labels Jun 8, 2017
@Bowman74
Copy link
Contributor

Bowman74 commented Jun 8, 2017

Likely this is the same issue with UWP and the cache may need to come into play.

@Bowman74
Copy link
Contributor

I'll see if I can't grab this in the next few days. Probably similar solution to UWP.

1 similar comment
@Bowman74
Copy link
Contributor

I'll see if I can't grab this in the next few days. Probably similar solution to UWP.

Cheesebaron pushed a commit that referenced this issue Jun 16, 2017
…h request by new navigation service. Updated wfp event hooks sample application to be more complete. (#1963)
@martijn00 martijn00 added this to the 5.0.3 milestone Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Bug type up-for-grabs Issues up for grabs by anyone
Development

No branches or pull requests

3 participants