{"action":"created","comment":{"url":"https://api.github.com/repos/zhihu/Matisse/pulls/comments/120273370","pull_request_review_id":42219483,"id":120273370,"diff_hunk":"@@ -188,7 +208,17 @@ private void notifyCheckStateChanged() {\n \n     @Override\n     public int getItemViewType(int position, Cursor cursor) {\n-        return Item.valueOf(cursor).isCapture() ? VIEW_TYPE_CAPTURE : VIEW_TYPE_MEDIA;\n+        if (!Item.valueOf(cursor).isCapture()) {\n+            return VIEW_TYPE_MEDIA;\n+        }","path":"matisse/src/main/java/com/zhihu/matisse/internal/ui/adapter/AlbumMediaAdapter.java","position":87,"original_position":87,"commit_id":"4287963b29370ad9f02e4d6240b99a32461a4501","original_commit_id":"4287963b29370ad9f02e4d6240b99a32461a4501","user":{"login":"gejiaheng","id":3777021,"avatar_url":"https://avatars3.githubusercontent.com/u/3777021?v=3","gravatar_id":"","url":"https://api.github.com/users/gejiaheng","html_url":"https://github.com/gejiaheng","followers_url":"https://api.github.com/users/gejiaheng/followers","following_url":"https://api.github.com/users/gejiaheng/following{/other_user}","gists_url":"https://api.github.com/users/gejiaheng/gists{/gist_id}","starred_url":"https://api.github.com/users/gejiaheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gejiaheng/subscriptions","organizations_url":"https://api.github.com/users/gejiaheng/orgs","repos_url":"https://api.github.com/users/gejiaheng/repos","events_url":"https://api.github.com/users/gejiaheng/events{/privacy}","received_events_url":"https://api.github.com/users/gejiaheng/received_events","type":"User","site_admin":false},"body":"The above is redundant.","created_at":"2017-06-06T06:22:24Z","updated_at":"2017-06-06T07:00:19Z","html_url":"https://github.com/zhihu/Matisse/pull/90#discussion_r120273370","pull_request_url":"https://api.github.com/repos/zhihu/Matisse/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/comments/120273370"},"html":{"href":"https://github.com/zhihu/Matisse/pull/90#discussion_r120273370"},"pull_request":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/zhihu/Matisse/pulls/90","id":123973546,"html_url":"https://github.com/zhihu/Matisse/pull/90","diff_url":"https://github.com/zhihu/Matisse/pull/90.diff","patch_url":"https://github.com/zhihu/Matisse/pull/90.patch","issue_url":"https://api.github.com/repos/zhihu/Matisse/issues/90","number":90,"state":"open","locked":false,"title":"Added capture video functionality","user":{"login":"kaadzr","id":10152678,"avatar_url":"https://avatars3.githubusercontent.com/u/10152678?v=3","gravatar_id":"","url":"https://api.github.com/users/kaadzr","html_url":"https://github.com/kaadzr","followers_url":"https://api.github.com/users/kaadzr/followers","following_url":"https://api.github.com/users/kaadzr/following{/other_user}","gists_url":"https://api.github.com/users/kaadzr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaadzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaadzr/subscriptions","organizations_url":"https://api.github.com/users/kaadzr/orgs","repos_url":"https://api.github.com/users/kaadzr/repos","events_url":"https://api.github.com/users/kaadzr/events{/privacy}","received_events_url":"https://api.github.com/users/kaadzr/received_events","type":"User","site_admin":false},"body":"I can't capture any video (Camera app crashes), but in theory it must works","created_at":"2017-06-05T13:07:28Z","updated_at":"2017-06-06T07:00:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa53815b6b9feeb6e2d5a0a763ea9ac303eeb2e7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/zhihu/Matisse/pulls/90/commits","review_comments_url":"https://api.github.com/repos/zhihu/Matisse/pulls/90/comments","review_comment_url":"https://api.github.com/repos/zhihu/Matisse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zhihu/Matisse/issues/90/comments","statuses_url":"https://api.github.com/repos/zhihu/Matisse/statuses/4287963b29370ad9f02e4d6240b99a32461a4501","head":{"label":"kaadzr:master","ref":"master","sha":"4287963b29370ad9f02e4d6240b99a32461a4501","user":{"login":"kaadzr","id":10152678,"avatar_url":"https://avatars3.githubusercontent.com/u/10152678?v=3","gravatar_id":"","url":"https://api.github.com/users/kaadzr","html_url":"https://github.com/kaadzr","followers_url":"https://api.github.com/users/kaadzr/followers","following_url":"https://api.github.com/users/kaadzr/following{/other_user}","gists_url":"https://api.github.com/users/kaadzr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaadzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaadzr/subscriptions","organizations_url":"https://api.github.com/users/kaadzr/orgs","repos_url":"https://api.github.com/users/kaadzr/repos","events_url":"https://api.github.com/users/kaadzr/events{/privacy}","received_events_url":"https://api.github.com/users/kaadzr/received_events","type":"User","site_admin":false},"repo":{"id":93383010,"name":"Matisse","full_name":"kaadzr/Matisse","owner":{"login":"kaadzr","id":10152678,"avatar_url":"https://avatars3.githubusercontent.com/u/10152678?v=3","gravatar_id":"","url":"https://api.github.com/users/kaadzr","html_url":"https://github.com/kaadzr","followers_url":"https://api.github.com/users/kaadzr/followers","following_url":"https://api.github.com/users/kaadzr/following{/other_user}","gists_url":"https://api.github.com/users/kaadzr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaadzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaadzr/subscriptions","organizations_url":"https://api.github.com/users/kaadzr/orgs","repos_url":"https://api.github.com/users/kaadzr/repos","events_url":"https://api.github.com/users/kaadzr/events{/privacy}","received_events_url":"https://api.github.com/users/kaadzr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaadzr/Matisse","description":":fireworks: A well-designed local image and video selector for Android","fork":true,"url":"https://api.github.com/repos/kaadzr/Matisse","forks_url":"https://api.github.com/repos/kaadzr/Matisse/forks","keys_url":"https://api.github.com/repos/kaadzr/Matisse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaadzr/Matisse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaadzr/Matisse/teams","hooks_url":"https://api.github.com/repos/kaadzr/Matisse/hooks","issue_events_url":"https://api.github.com/repos/kaadzr/Matisse/issues/events{/number}","events_url":"https://api.github.com/repos/kaadzr/Matisse/events","assignees_url":"https://api.github.com/repos/kaadzr/Matisse/assignees{/user}","branches_url":"https://api.github.com/repos/kaadzr/Matisse/branches{/branch}","tags_url":"https://api.github.com/repos/kaadzr/Matisse/tags","blobs_url":"https://api.github.com/repos/kaadzr/Matisse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaadzr/Matisse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaadzr/Matisse/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaadzr/Matisse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaadzr/Matisse/statuses/{sha}","languages_url":"https://api.github.com/repos/kaadzr/Matisse/languages","stargazers_url":"https://api.github.com/repos/kaadzr/Matisse/stargazers","contributors_url":"https://api.github.com/repos/kaadzr/Matisse/contributors","subscribers_url":"https://api.github.com/repos/kaadzr/Matisse/subscribers","subscription_url":"https://api.github.com/repos/kaadzr/Matisse/subscription","commits_url":"https://api.github.com/repos/kaadzr/Matisse/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaadzr/Matisse/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaadzr/Matisse/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaadzr/Matisse/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaadzr/Matisse/contents/{+path}","compare_url":"https://api.github.com/repos/kaadzr/Matisse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaadzr/Matisse/merges","archive_url":"https://api.github.com/repos/kaadzr/Matisse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaadzr/Matisse/downloads","issues_url":"https://api.github.com/repos/kaadzr/Matisse/issues{/number}","pulls_url":"https://api.github.com/repos/kaadzr/Matisse/pulls{/number}","milestones_url":"https://api.github.com/repos/kaadzr/Matisse/milestones{/number}","notifications_url":"https://api.github.com/repos/kaadzr/Matisse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaadzr/Matisse/labels{/name}","releases_url":"https://api.github.com/repos/kaadzr/Matisse/releases{/id}","deployments_url":"https://api.github.com/repos/kaadzr/Matisse/deployments","created_at":"2017-06-05T08:36:46Z","updated_at":"2017-06-05T08:36:48Z","pushed_at":"2017-06-05T13:45:01Z","git_url":"git://github.com/kaadzr/Matisse.git","ssh_url":"git@github.com:kaadzr/Matisse.git","clone_url":"https://github.com/kaadzr/Matisse.git","svn_url":"https://github.com/kaadzr/Matisse","homepage":"","size":1802,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"zhihu:master","ref":"master","sha":"ce2d097b6b74c691808151e513b077434e7e2482","user":{"login":"zhihu","id":409513,"avatar_url":"https://avatars3.githubusercontent.com/u/409513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhihu","html_url":"https://github.com/zhihu","followers_url":"https://api.github.com/users/zhihu/followers","following_url":"https://api.github.com/users/zhihu/following{/other_user}","gists_url":"https://api.github.com/users/zhihu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhihu/subscriptions","organizations_url":"https://api.github.com/users/zhihu/orgs","repos_url":"https://api.github.com/users/zhihu/repos","events_url":"https://api.github.com/users/zhihu/events{/privacy}","received_events_url":"https://api.github.com/users/zhihu/received_events","type":"Organization","site_admin":false},"repo":{"id":88111990,"name":"Matisse","full_name":"zhihu/Matisse","owner":{"login":"zhihu","id":409513,"avatar_url":"https://avatars3.githubusercontent.com/u/409513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhihu","html_url":"https://github.com/zhihu","followers_url":"https://api.github.com/users/zhihu/followers","following_url":"https://api.github.com/users/zhihu/following{/other_user}","gists_url":"https://api.github.com/users/zhihu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhihu/subscriptions","organizations_url":"https://api.github.com/users/zhihu/orgs","repos_url":"https://api.github.com/users/zhihu/repos","events_url":"https://api.github.com/users/zhihu/events{/privacy}","received_events_url":"https://api.github.com/users/zhihu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zhihu/Matisse","description":":fireworks: A well-designed local image and video selector for Android","fork":false,"url":"https://api.github.com/repos/zhihu/Matisse","forks_url":"https://api.github.com/repos/zhihu/Matisse/forks","keys_url":"https://api.github.com/repos/zhihu/Matisse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhihu/Matisse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhihu/Matisse/teams","hooks_url":"https://api.github.com/repos/zhihu/Matisse/hooks","issue_events_url":"https://api.github.com/repos/zhihu/Matisse/issues/events{/number}","events_url":"https://api.github.com/repos/zhihu/Matisse/events","assignees_url":"https://api.github.com/repos/zhihu/Matisse/assignees{/user}","branches_url":"https://api.github.com/repos/zhihu/Matisse/branches{/branch}","tags_url":"https://api.github.com/repos/zhihu/Matisse/tags","blobs_url":"https://api.github.com/repos/zhihu/Matisse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhihu/Matisse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhihu/Matisse/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhihu/Matisse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhihu/Matisse/statuses/{sha}","languages_url":"https://api.github.com/repos/zhihu/Matisse/languages","stargazers_url":"https://api.github.com/repos/zhihu/Matisse/stargazers","contributors_url":"https://api.github.com/repos/zhihu/Matisse/contributors","subscribers_url":"https://api.github.com/repos/zhihu/Matisse/subscribers","subscription_url":"https://api.github.com/repos/zhihu/Matisse/subscription","commits_url":"https://api.github.com/repos/zhihu/Matisse/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhihu/Matisse/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhihu/Matisse/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhihu/Matisse/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhihu/Matisse/contents/{+path}","compare_url":"https://api.github.com/repos/zhihu/Matisse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhihu/Matisse/merges","archive_url":"https://api.github.com/repos/zhihu/Matisse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhihu/Matisse/downloads","issues_url":"https://api.github.com/repos/zhihu/Matisse/issues{/number}","pulls_url":"https://api.github.com/repos/zhihu/Matisse/pulls{/number}","milestones_url":"https://api.github.com/repos/zhihu/Matisse/milestones{/number}","notifications_url":"https://api.github.com/repos/zhihu/Matisse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhihu/Matisse/labels{/name}","releases_url":"https://api.github.com/repos/zhihu/Matisse/releases{/id}","deployments_url":"https://api.github.com/repos/zhihu/Matisse/deployments","created_at":"2017-04-13T01:31:05Z","updated_at":"2017-06-06T06:44:10Z","pushed_at":"2017-06-05T13:07:29Z","git_url":"git://github.com/zhihu/Matisse.git","ssh_url":"git@github.com:zhihu/Matisse.git","clone_url":"https://github.com/zhihu/Matisse.git","svn_url":"https://github.com/zhihu/Matisse","homepage":"","size":1797,"stargazers_count":2916,"watchers_count":2916,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":285,"mirror_url":null,"open_issues_count":22,"forks":285,"open_issues":22,"watchers":2916,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/90"},"html":{"href":"https://github.com/zhihu/Matisse/pull/90"},"issue":{"href":"https://api.github.com/repos/zhihu/Matisse/issues/90"},"comments":{"href":"https://api.github.com/repos/zhihu/Matisse/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/zhihu/Matisse/statuses/4287963b29370ad9f02e4d6240b99a32461a4501"}}}}
{"actor":{"display_login":"gejiaheng"}}