{"action":"created","comment":{"url":"https://api.github.com/repos/square/flow/pulls/comments/52082929","id":52082929,"diff_hunk":"@@ -0,0 +1,108 @@\n+package flow.sample.multikey;\n+\n+import android.app.Dialog;\n+import android.content.Context;\n+import android.content.DialogInterface;\n+import android.support.annotation.Nullable;\n+import android.support.v7.app.AlertDialog;\n+import android.support.v7.app.AppCompatActivity;\n+import android.view.View;\n+import android.widget.TextView;\n+import flow.Flow;\n+import flow.KeyChanger;\n+import flow.KeyDispatcher;\n+import flow.State;\n+\n+/**\n+ * 1. Demonstrate multi-key, e.g. with dialog\n+ * 2. Demonstrate tree-key, with share parent resources.","path":"flow-sample-multikey/src/main/java/flow/sample/multikey/MultiKeySampleActivity.java","position":18,"original_position":18,"commit_id":"65e6562fae3f41e554e3a41ab316844145e094ae","original_commit_id":"65e6562fae3f41e554e3a41ab316844145e094ae","user":{"login":"loganj","id":18877,"avatar_url":"https://avatars.githubusercontent.com/u/18877?v=3","gravatar_id":"","url":"https://api.github.com/users/loganj","html_url":"https://github.com/loganj","followers_url":"https://api.github.com/users/loganj/followers","following_url":"https://api.github.com/users/loganj/following{/other_user}","gists_url":"https://api.github.com/users/loganj/gists{/gist_id}","starred_url":"https://api.github.com/users/loganj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganj/subscriptions","organizations_url":"https://api.github.com/users/loganj/orgs","repos_url":"https://api.github.com/users/loganj/repos","events_url":"https://api.github.com/users/loganj/events{/privacy}","received_events_url":"https://api.github.com/users/loganj/received_events","type":"User","site_admin":false},"body":"nope, just multikey","created_at":"2016-02-05T22:42:19Z","updated_at":"2016-02-05T22:42:19Z","html_url":"https://github.com/square/flow/pull/134#discussion_r52082929","pull_request_url":"https://api.github.com/repos/square/flow/pulls/134","_links":{"self":{"href":"https://api.github.com/repos/square/flow/pulls/comments/52082929"},"html":{"href":"https://github.com/square/flow/pull/134#discussion_r52082929"},"pull_request":{"href":"https://api.github.com/repos/square/flow/pulls/134"}}},"pull_request":{"url":"https://api.github.com/repos/square/flow/pulls/134","id":58492890,"html_url":"https://github.com/square/flow/pull/134","diff_url":"https://github.com/square/flow/pull/134.diff","patch_url":"https://github.com/square/flow/pull/134.patch","issue_url":"https://api.github.com/repos/square/flow/issues/134","number":134,"state":"open","locked":false,"title":"Fixes services, adds MultiKey sample","user":{"login":"rjrjr","id":1884445,"avatar_url":"https://avatars.githubusercontent.com/u/1884445?v=3","gravatar_id":"","url":"https://api.github.com/users/rjrjr","html_url":"https://github.com/rjrjr","followers_url":"https://api.github.com/users/rjrjr/followers","following_url":"https://api.github.com/users/rjrjr/following{/other_user}","gists_url":"https://api.github.com/users/rjrjr/gists{/gist_id}","starred_url":"https://api.github.com/users/rjrjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjrjr/subscriptions","organizations_url":"https://api.github.com/users/rjrjr/orgs","repos_url":"https://api.github.com/users/rjrjr/repos","events_url":"https://api.github.com/users/rjrjr/events{/privacy}","received_events_url":"https://api.github.com/users/rjrjr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-05T22:22:39Z","updated_at":"2016-02-05T22:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d42c42e8b21e559ae7410e82ea498ce2a667ad73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/square/flow/pulls/134/commits","review_comments_url":"https://api.github.com/repos/square/flow/pulls/134/comments","review_comment_url":"https://api.github.com/repos/square/flow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/flow/issues/134/comments","statuses_url":"https://api.github.com/repos/square/flow/statuses/65e6562fae3f41e554e3a41ab316844145e094ae","head":{"label":"square:r+l/mk-demo-moar","ref":"r+l/mk-demo-moar","sha":"65e6562fae3f41e554e3a41ab316844145e094ae","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":12796207,"name":"flow","full_name":"square/flow","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/flow","description":"A small library that helps with describing an app as a collection of moderately independent screens. ","fork":false,"url":"https://api.github.com/repos/square/flow","forks_url":"https://api.github.com/repos/square/flow/forks","keys_url":"https://api.github.com/repos/square/flow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/flow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/flow/teams","hooks_url":"https://api.github.com/repos/square/flow/hooks","issue_events_url":"https://api.github.com/repos/square/flow/issues/events{/number}","events_url":"https://api.github.com/repos/square/flow/events","assignees_url":"https://api.github.com/repos/square/flow/assignees{/user}","branches_url":"https://api.github.com/repos/square/flow/branches{/branch}","tags_url":"https://api.github.com/repos/square/flow/tags","blobs_url":"https://api.github.com/repos/square/flow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/flow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/flow/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/flow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/flow/statuses/{sha}","languages_url":"https://api.github.com/repos/square/flow/languages","stargazers_url":"https://api.github.com/repos/square/flow/stargazers","contributors_url":"https://api.github.com/repos/square/flow/contributors","subscribers_url":"https://api.github.com/repos/square/flow/subscribers","subscription_url":"https://api.github.com/repos/square/flow/subscription","commits_url":"https://api.github.com/repos/square/flow/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/flow/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/flow/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/flow/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/flow/contents/{+path}","compare_url":"https://api.github.com/repos/square/flow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/flow/merges","archive_url":"https://api.github.com/repos/square/flow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/flow/downloads","issues_url":"https://api.github.com/repos/square/flow/issues{/number}","pulls_url":"https://api.github.com/repos/square/flow/pulls{/number}","milestones_url":"https://api.github.com/repos/square/flow/milestones{/number}","notifications_url":"https://api.github.com/repos/square/flow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/flow/labels{/name}","releases_url":"https://api.github.com/repos/square/flow/releases{/id}","deployments_url":"https://api.github.com/repos/square/flow/deployments","created_at":"2013-09-12T22:20:16Z","updated_at":"2016-02-05T12:15:30Z","pushed_at":"2016-02-05T22:39:28Z","git_url":"git://github.com/square/flow.git","ssh_url":"git@github.com:square/flow.git","clone_url":"https://github.com/square/flow.git","svn_url":"https://github.com/square/flow","homepage":"","size":794,"stargazers_count":1358,"watchers_count":1358,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":142,"mirror_url":null,"open_issues_count":9,"forks":142,"open_issues":9,"watchers":1358,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"c8e95b283ea1dac37d21ca1a2e14d471f48c71bb","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":12796207,"name":"flow","full_name":"square/flow","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/flow","description":"A small library that helps with describing an app as a collection of moderately independent screens. ","fork":false,"url":"https://api.github.com/repos/square/flow","forks_url":"https://api.github.com/repos/square/flow/forks","keys_url":"https://api.github.com/repos/square/flow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/flow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/flow/teams","hooks_url":"https://api.github.com/repos/square/flow/hooks","issue_events_url":"https://api.github.com/repos/square/flow/issues/events{/number}","events_url":"https://api.github.com/repos/square/flow/events","assignees_url":"https://api.github.com/repos/square/flow/assignees{/user}","branches_url":"https://api.github.com/repos/square/flow/branches{/branch}","tags_url":"https://api.github.com/repos/square/flow/tags","blobs_url":"https://api.github.com/repos/square/flow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/flow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/flow/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/flow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/flow/statuses/{sha}","languages_url":"https://api.github.com/repos/square/flow/languages","stargazers_url":"https://api.github.com/repos/square/flow/stargazers","contributors_url":"https://api.github.com/repos/square/flow/contributors","subscribers_url":"https://api.github.com/repos/square/flow/subscribers","subscription_url":"https://api.github.com/repos/square/flow/subscription","commits_url":"https://api.github.com/repos/square/flow/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/flow/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/flow/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/flow/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/flow/contents/{+path}","compare_url":"https://api.github.com/repos/square/flow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/flow/merges","archive_url":"https://api.github.com/repos/square/flow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/flow/downloads","issues_url":"https://api.github.com/repos/square/flow/issues{/number}","pulls_url":"https://api.github.com/repos/square/flow/pulls{/number}","milestones_url":"https://api.github.com/repos/square/flow/milestones{/number}","notifications_url":"https://api.github.com/repos/square/flow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/flow/labels{/name}","releases_url":"https://api.github.com/repos/square/flow/releases{/id}","deployments_url":"https://api.github.com/repos/square/flow/deployments","created_at":"2013-09-12T22:20:16Z","updated_at":"2016-02-05T12:15:30Z","pushed_at":"2016-02-05T22:39:28Z","git_url":"git://github.com/square/flow.git","ssh_url":"git@github.com:square/flow.git","clone_url":"https://github.com/square/flow.git","svn_url":"https://github.com/square/flow","homepage":"","size":794,"stargazers_count":1358,"watchers_count":1358,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":142,"mirror_url":null,"open_issues_count":9,"forks":142,"open_issues":9,"watchers":1358,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/flow/pulls/134"},"html":{"href":"https://github.com/square/flow/pull/134"},"issue":{"href":"https://api.github.com/repos/square/flow/issues/134"},"comments":{"href":"https://api.github.com/repos/square/flow/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/square/flow/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/square/flow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/flow/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/square/flow/statuses/65e6562fae3f41e554e3a41ab316844145e094ae"}}}}