{"action":"opened","issue":{"url":"https://api.github.com/repos/PrismLibrary/Prism/issues/367","labels_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/367/comments","events_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/367/events","html_url":"https://github.com/PrismLibrary/Prism/issues/367","id":122919168,"number":367,"title":"Create viewmodel with navigation parameters (instead of updating it)","user":{"login":"Haukinger","id":12120747,"avatar_url":"https://avatars.githubusercontent.com/u/12120747?v=3","gravatar_id":"","url":"https://api.github.com/users/Haukinger","html_url":"https://github.com/Haukinger","followers_url":"https://api.github.com/users/Haukinger/followers","following_url":"https://api.github.com/users/Haukinger/following{/other_user}","gists_url":"https://api.github.com/users/Haukinger/gists{/gist_id}","starred_url":"https://api.github.com/users/Haukinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haukinger/subscriptions","organizations_url":"https://api.github.com/users/Haukinger/orgs","repos_url":"https://api.github.com/users/Haukinger/repos","events_url":"https://api.github.com/users/Haukinger/events{/privacy}","received_events_url":"https://api.github.com/users/Haukinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T10:06:15Z","updated_at":"2015-12-18T10:06:15Z","closed_at":null,"body":"When navigating between views, I need to pass around information. The viewmodels cannot work without that, so I have to transfer it from the viewmodel that issues the navigation request to the one that's created for the view. What's the best way to do it with prism?\r\n\r\nI see these options:\r\n* the viewmodel implements INavigationAware, and get's its info in OnNavigatedTo -> this has the problem that the viewmodel is in uninitialized state until OnNavigatedTo is called, which makes the code more complicated\r\n* modify RegionNavigationService or RegionNavigationContentLoader to call a viewmodel factory that passes the navigation parameters to the viewmodel's constructor if necessary\r\n\r\nIf I go for the second option, how should it be done to have a chance of being accepted as a pull request?"}}