{"action":"closed","number":77,"pull_request":{"url":"https://api.github.com/repos/PrismLibrary/Prism/pulls/77","id":40293133,"html_url":"https://github.com/PrismLibrary/Prism/pull/77","diff_url":"https://github.com/PrismLibrary/Prism/pull/77.diff","patch_url":"https://github.com/PrismLibrary/Prism/pull/77.patch","issue_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/77","number":77,"state":"closed","locked":false,"title":"[Win10 UAP] SystemNavigationManager backrequest","user":{"login":"ElementalNex","id":10253291,"avatar_url":"https://avatars.githubusercontent.com/u/10253291?v=3","gravatar_id":"","url":"https://api.github.com/users/ElementalNex","html_url":"https://github.com/ElementalNex","followers_url":"https://api.github.com/users/ElementalNex/followers","following_url":"https://api.github.com/users/ElementalNex/following{/other_user}","gists_url":"https://api.github.com/users/ElementalNex/gists{/gist_id}","starred_url":"https://api.github.com/users/ElementalNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElementalNex/subscriptions","organizations_url":"https://api.github.com/users/ElementalNex/orgs","repos_url":"https://api.github.com/users/ElementalNex/repos","events_url":"https://api.github.com/users/ElementalNex/events{/privacy}","received_events_url":"https://api.github.com/users/ElementalNex/received_events","type":"User","site_admin":false},"body":"#75 \r\n\r\nAdded SystemNavigationManager.BackRequest to handle titlebar backbutton and other request (others not tested)\r\n\r\nThis works alongside the hardwarebutton.backpressed, since the e.handled will be set to true and not call SystemNavigationManager.BackRequest after that. \r\n\r\nAlso added the OnNavigated event, so the tilebar backbutton hide/show can be easily handled in the app.xaml.cs without including this into prism since this is more app specific \r\n\r\nLike this:\r\n```\r\nprotected override void OnNavigated(object sender, NavigationEventArgs e)\r\n{\r\n        SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =\r\n                NavigationService.CanGoBack() ? AppViewBackButtonVisibility.Visible : AppViewBackButtonVisibility.Collapsed;\r\n}\r\n```","created_at":"2015-07-18T14:51:16Z","updated_at":"2015-07-19T11:06:55Z","closed_at":"2015-07-19T11:06:55Z","merged_at":null,"merge_commit_sha":"8b3b38e5796e060c73869e386855dcb14386611e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PrismLibrary/Prism/pulls/77/commits","review_comments_url":"https://api.github.com/repos/PrismLibrary/Prism/pulls/77/comments","review_comment_url":"https://api.github.com/repos/PrismLibrary/Prism/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/77/comments","statuses_url":"https://api.github.com/repos/PrismLibrary/Prism/statuses/d11493f2afd023e211cbcea3a23038a978774aa3","head":{"label":"ElementalNex:SystemNavigationManager-BackRequest","ref":"SystemNavigationManager-BackRequest","sha":"d11493f2afd023e211cbcea3a23038a978774aa3","user":{"login":"ElementalNex","id":10253291,"avatar_url":"https://avatars.githubusercontent.com/u/10253291?v=3","gravatar_id":"","url":"https://api.github.com/users/ElementalNex","html_url":"https://github.com/ElementalNex","followers_url":"https://api.github.com/users/ElementalNex/followers","following_url":"https://api.github.com/users/ElementalNex/following{/other_user}","gists_url":"https://api.github.com/users/ElementalNex/gists{/gist_id}","starred_url":"https://api.github.com/users/ElementalNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElementalNex/subscriptions","organizations_url":"https://api.github.com/users/ElementalNex/orgs","repos_url":"https://api.github.com/users/ElementalNex/repos","events_url":"https://api.github.com/users/ElementalNex/events{/privacy}","received_events_url":"https://api.github.com/users/ElementalNex/received_events","type":"User","site_admin":false},"repo":{"id":38699238,"name":"Prism","full_name":"ElementalNex/Prism","owner":{"login":"ElementalNex","id":10253291,"avatar_url":"https://avatars.githubusercontent.com/u/10253291?v=3","gravatar_id":"","url":"https://api.github.com/users/ElementalNex","html_url":"https://github.com/ElementalNex","followers_url":"https://api.github.com/users/ElementalNex/followers","following_url":"https://api.github.com/users/ElementalNex/following{/other_user}","gists_url":"https://api.github.com/users/ElementalNex/gists{/gist_id}","starred_url":"https://api.github.com/users/ElementalNex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElementalNex/subscriptions","organizations_url":"https://api.github.com/users/ElementalNex/orgs","repos_url":"https://api.github.com/users/ElementalNex/repos","events_url":"https://api.github.com/users/ElementalNex/events{/privacy}","received_events_url":"https://api.github.com/users/ElementalNex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ElementalNex/Prism","description":"Prism 6 in the works - breaking changes are guaranteed!","fork":true,"url":"https://api.github.com/repos/ElementalNex/Prism","forks_url":"https://api.github.com/repos/ElementalNex/Prism/forks","keys_url":"https://api.github.com/repos/ElementalNex/Prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ElementalNex/Prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ElementalNex/Prism/teams","hooks_url":"https://api.github.com/repos/ElementalNex/Prism/hooks","issue_events_url":"https://api.github.com/repos/ElementalNex/Prism/issues/events{/number}","events_url":"https://api.github.com/repos/ElementalNex/Prism/events","assignees_url":"https://api.github.com/repos/ElementalNex/Prism/assignees{/user}","branches_url":"https://api.github.com/repos/ElementalNex/Prism/branches{/branch}","tags_url":"https://api.github.com/repos/ElementalNex/Prism/tags","blobs_url":"https://api.github.com/repos/ElementalNex/Prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ElementalNex/Prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ElementalNex/Prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/ElementalNex/Prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ElementalNex/Prism/statuses/{sha}","languages_url":"https://api.github.com/repos/ElementalNex/Prism/languages","stargazers_url":"https://api.github.com/repos/ElementalNex/Prism/stargazers","contributors_url":"https://api.github.com/repos/ElementalNex/Prism/contributors","subscribers_url":"https://api.github.com/repos/ElementalNex/Prism/subscribers","subscription_url":"https://api.github.com/repos/ElementalNex/Prism/subscription","commits_url":"https://api.github.com/repos/ElementalNex/Prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/ElementalNex/Prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/ElementalNex/Prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/ElementalNex/Prism/issues/comments{/number}","contents_url":"https://api.github.com/repos/ElementalNex/Prism/contents/{+path}","compare_url":"https://api.github.com/repos/ElementalNex/Prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ElementalNex/Prism/merges","archive_url":"https://api.github.com/repos/ElementalNex/Prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ElementalNex/Prism/downloads","issues_url":"https://api.github.com/repos/ElementalNex/Prism/issues{/number}","pulls_url":"https://api.github.com/repos/ElementalNex/Prism/pulls{/number}","milestones_url":"https://api.github.com/repos/ElementalNex/Prism/milestones{/number}","notifications_url":"https://api.github.com/repos/ElementalNex/Prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ElementalNex/Prism/labels{/name}","releases_url":"https://api.github.com/repos/ElementalNex/Prism/releases{/id}","created_at":"2015-07-07T16:08:18Z","updated_at":"2015-07-07T16:08:19Z","pushed_at":"2015-07-19T10:30:01Z","git_url":"git://github.com/ElementalNex/Prism.git","ssh_url":"git@github.com:ElementalNex/Prism.git","clone_url":"https://github.com/ElementalNex/Prism.git","svn_url":"https://github.com/ElementalNex/Prism","homepage":"","size":1688,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PrismLibrary:master","ref":"master","sha":"ae22e344a31f2065b47b7a3ccfb208adeedbaf8c","user":{"login":"PrismLibrary","id":10503161,"avatar_url":"https://avatars.githubusercontent.com/u/10503161?v=3","gravatar_id":"","url":"https://api.github.com/users/PrismLibrary","html_url":"https://github.com/PrismLibrary","followers_url":"https://api.github.com/users/PrismLibrary/followers","following_url":"https://api.github.com/users/PrismLibrary/following{/other_user}","gists_url":"https://api.github.com/users/PrismLibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/PrismLibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrismLibrary/subscriptions","organizations_url":"https://api.github.com/users/PrismLibrary/orgs","repos_url":"https://api.github.com/users/PrismLibrary/repos","events_url":"https://api.github.com/users/PrismLibrary/events{/privacy}","received_events_url":"https://api.github.com/users/PrismLibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":31335300,"name":"Prism","full_name":"PrismLibrary/Prism","owner":{"login":"PrismLibrary","id":10503161,"avatar_url":"https://avatars.githubusercontent.com/u/10503161?v=3","gravatar_id":"","url":"https://api.github.com/users/PrismLibrary","html_url":"https://github.com/PrismLibrary","followers_url":"https://api.github.com/users/PrismLibrary/followers","following_url":"https://api.github.com/users/PrismLibrary/following{/other_user}","gists_url":"https://api.github.com/users/PrismLibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/PrismLibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrismLibrary/subscriptions","organizations_url":"https://api.github.com/users/PrismLibrary/orgs","repos_url":"https://api.github.com/users/PrismLibrary/repos","events_url":"https://api.github.com/users/PrismLibrary/events{/privacy}","received_events_url":"https://api.github.com/users/PrismLibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrismLibrary/Prism","description":"Prism 6 in the works - breaking changes are guaranteed!","fork":false,"url":"https://api.github.com/repos/PrismLibrary/Prism","forks_url":"https://api.github.com/repos/PrismLibrary/Prism/forks","keys_url":"https://api.github.com/repos/PrismLibrary/Prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrismLibrary/Prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrismLibrary/Prism/teams","hooks_url":"https://api.github.com/repos/PrismLibrary/Prism/hooks","issue_events_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/events{/number}","events_url":"https://api.github.com/repos/PrismLibrary/Prism/events","assignees_url":"https://api.github.com/repos/PrismLibrary/Prism/assignees{/user}","branches_url":"https://api.github.com/repos/PrismLibrary/Prism/branches{/branch}","tags_url":"https://api.github.com/repos/PrismLibrary/Prism/tags","blobs_url":"https://api.github.com/repos/PrismLibrary/Prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrismLibrary/Prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrismLibrary/Prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrismLibrary/Prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrismLibrary/Prism/statuses/{sha}","languages_url":"https://api.github.com/repos/PrismLibrary/Prism/languages","stargazers_url":"https://api.github.com/repos/PrismLibrary/Prism/stargazers","contributors_url":"https://api.github.com/repos/PrismLibrary/Prism/contributors","subscribers_url":"https://api.github.com/repos/PrismLibrary/Prism/subscribers","subscription_url":"https://api.github.com/repos/PrismLibrary/Prism/subscription","commits_url":"https://api.github.com/repos/PrismLibrary/Prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrismLibrary/Prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrismLibrary/Prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrismLibrary/Prism/contents/{+path}","compare_url":"https://api.github.com/repos/PrismLibrary/Prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrismLibrary/Prism/merges","archive_url":"https://api.github.com/repos/PrismLibrary/Prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrismLibrary/Prism/downloads","issues_url":"https://api.github.com/repos/PrismLibrary/Prism/issues{/number}","pulls_url":"https://api.github.com/repos/PrismLibrary/Prism/pulls{/number}","milestones_url":"https://api.github.com/repos/PrismLibrary/Prism/milestones{/number}","notifications_url":"https://api.github.com/repos/PrismLibrary/Prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrismLibrary/Prism/labels{/name}","releases_url":"https://api.github.com/repos/PrismLibrary/Prism/releases{/id}","created_at":"2015-02-25T20:54:32Z","updated_at":"2015-07-18T01:17:04Z","pushed_at":"2015-07-19T05:50:46Z","git_url":"git://github.com/PrismLibrary/Prism.git","ssh_url":"git@github.com:PrismLibrary/Prism.git","clone_url":"https://github.com/PrismLibrary/Prism.git","svn_url":"https://github.com/PrismLibrary/Prism","homepage":"","size":2077,"stargazers_count":214,"watchers_count":214,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":30,"forks":58,"open_issues":30,"watchers":214,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PrismLibrary/Prism/pulls/77"},"html":{"href":"https://github.com/PrismLibrary/Prism/pull/77"},"issue":{"href":"https://api.github.com/repos/PrismLibrary/Prism/issues/77"},"comments":{"href":"https://api.github.com/repos/PrismLibrary/Prism/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/PrismLibrary/Prism/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/PrismLibrary/Prism/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrismLibrary/Prism/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/PrismLibrary/Prism/statuses/d11493f2afd023e211cbcea3a23038a978774aa3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":20,"deletions":1,"changed_files":2}}