{"action":"created","issue":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/2518","repository_url":"https://api.github.com/repos/MvvmCross/MvvmCross","labels_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/2518/labels{/name}","comments_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/2518/comments","events_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/2518/events","html_url":"https://github.com/MvvmCross/MvvmCross/issues/2518","id":287015807,"node_id":"MDU6SXNzdWUyODcwMTU4MDc=","number":2518,"title":"Navigate to viewmodel for tab item on iOS always creates a new tab item","user":{"login":"modplug","id":789588,"node_id":"MDQ6VXNlcjc4OTU4OA==","avatar_url":"https://avatars2.githubusercontent.com/u/789588?v=4","gravatar_id":"","url":"https://api.github.com/users/modplug","html_url":"https://github.com/modplug","followers_url":"https://api.github.com/users/modplug/followers","following_url":"https://api.github.com/users/modplug/following{/other_user}","gists_url":"https://api.github.com/users/modplug/gists{/gist_id}","starred_url":"https://api.github.com/users/modplug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modplug/subscriptions","organizations_url":"https://api.github.com/users/modplug/orgs","repos_url":"https://api.github.com/users/modplug/repos","events_url":"https://api.github.com/users/modplug/events{/privacy}","received_events_url":"https://api.github.com/users/modplug/received_events","type":"User","site_admin":false},"labels":[{"id":17655141,"node_id":"MDU6TGFiZWwxNzY1NTE0MQ==","url":"https://api.github.com/repos/MvvmCross/MvvmCross/labels/Feature%20request","name":"Feature request","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-09T09:06:50Z","updated_at":"2018-06-20T09:15:04Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce :scroll:\r\n\r\n1.\r\nCreate an iOS application with Tab navigation\r\n\r\n2.\r\nCreate tabs for:\r\nFirstViewModel\r\nSecondViewModel\r\nThirdViewModel\r\n\r\n3.\r\nNavigate from FirstViewModel to SecondViewModel using navigationService.Navigate<SecondViewModel>()\r\n\r\n### Expected behavior :thinking:\r\nIt should navigate to the second tab and provide any navigation parameters to the existing view model for the second tab\r\n\r\n### Actual behavior :bug:\r\nIt creates a new tab everytime Navigate<SecondViewModel> is called\r\n\r\n### Configuration :wrench:\r\n\r\n**Version:** 5.6.2\r\n\r\n**Platform:** \r\n- [x] :iphone: iOS\r\n- [ ] :robot: Android\r\n- [ ] :checkered_flag: WPF\r\n- [ ] :earth_americas: UWP\r\n- [ ] :apple: MacOS\r\n- [ ] :tv: tvOS\r\n- [ ] :monkey: Xamarin.Forms\r\n"},"comment":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/comments/398681520","html_url":"https://github.com/MvvmCross/MvvmCross/issues/2518#issuecomment-398681520","issue_url":"https://api.github.com/repos/MvvmCross/MvvmCross/issues/2518","id":398681520,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODY4MTUyMA==","user":{"login":"markuspalme","id":1481801,"node_id":"MDQ6VXNlcjE0ODE4MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1481801?v=4","gravatar_id":"","url":"https://api.github.com/users/markuspalme","html_url":"https://github.com/markuspalme","followers_url":"https://api.github.com/users/markuspalme/followers","following_url":"https://api.github.com/users/markuspalme/following{/other_user}","gists_url":"https://api.github.com/users/markuspalme/gists{/gist_id}","starred_url":"https://api.github.com/users/markuspalme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuspalme/subscriptions","organizations_url":"https://api.github.com/users/markuspalme/orgs","repos_url":"https://api.github.com/users/markuspalme/repos","events_url":"https://api.github.com/users/markuspalme/events{/privacy}","received_events_url":"https://api.github.com/users/markuspalme/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T09:15:04Z","updated_at":"2018-06-20T09:15:04Z","author_association":"CONTRIBUTOR","body":"@nmilcoff Thanks, I looked at the existing hints and found `MvxPagePresentationHint`. It is [intended to](https://www.mvvmcross.com/mvvmcross-56-release/) \r\n\r\n> Set the current page in a TabbedPage or CarouselPage that is already open.\r\n\r\nIt seems like this hint is currently only supported in the `MvxFormsPagePresenter` presenter:(https://github.com/MvvmCross/MvvmCross/blob/76f563af87ec7b3a888e849d7b7e2e01f322ae3d/MvvmCross.Forms/Presenters/MvxFormsPagePresenter.cs#L257\r\n\r\nDo you agree it would be the right approach to implement support for this hint in the iOSPresenter?\r\n\r\n"}}
{"actor":{"display_login":"markuspalme"}}