GitHub PullRequestReviewCommentEvent at 2014-07-23 16:18:18
Repository: LicensesDialog
Actor: barondem
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/comments/15297897","id":15297897,"diff_hunk":"@@ -104,14 +182,20 @@ public Dialog create() {\n         //Get resources\n         final WebView webView = new WebView(mContext);\n         webView.loadDataWithBaseURL(null, mLicensesText, \"text/html\", \"utf-8\", null);\n-        final AlertDialog.Builder builder = new AlertDialog.Builder(mContext)\n-            .setTitle(mTitleText)\n-            .setView(webView)\n-            .setPositiveButton(mCloseText, new Dialog.OnClickListener() {\n-                public void onClick(final DialogInterface dialogInterface, final int i) {\n-                    dialogInterface.dismiss();\n-                }\n-            });\n+        final AlertDialog.Builder builder;\n+        if (mThemeResourceId != 0) {\n+            builder = new AlertDialog.Builder(new ContextThemeWrapper","path":"library/src/main/java/de/psdev/licensesdialog/LicensesDialog.java","position":null,"original_position":124,"commit_id":"d7cb4cb37e9fdb5ecd56e80c85d9a0a62d7b61a7","original_commit_id":"e4982c2c30005bae93f1dcd48e5c7674d711e16a","user":{"login":"barondem","id":6568392,"avatar_url":"https://avatars.githubusercontent.com/u/6568392?","gravatar_id":"3b9eef6d2c2a4fd71241b6c74eb4a5f0","url":"https://api.github.com/users/barondem","html_url":"https://github.com/barondem","followers_url":"https://api.github.com/users/barondem/followers","following_url":"https://api.github.com/users/barondem/following{/other_user}","gists_url":"https://api.github.com/users/barondem/gists{/gist_id}","starred_url":"https://api.github.com/users/barondem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barondem/subscriptions","organizations_url":"https://api.github.com/users/barondem/orgs","repos_url":"https://api.github.com/users/barondem/repos","events_url":"https://api.github.com/users/barondem/events{/privacy}","received_events_url":"https://api.github.com/users/barondem/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2014-07-23T16:18:18Z","updated_at":"2014-07-23T16:18:18Z","html_url":"https://github.com/PSDev/LicensesDialog/pull/30#discussion_r15297897","pull_request_url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/comments/15297897"},"html":{"href":"https://github.com/PSDev/LicensesDialog/pull/30#discussion_r15297897"},"pull_request":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30","id":18622754,"html_url":"https://github.com/PSDev/LicensesDialog/pull/30","diff_url":"https://github.com/PSDev/LicensesDialog/pull/30.diff","patch_url":"https://github.com/PSDev/LicensesDialog/pull/30.patch","issue_url":"https://api.github.com/repos/PSDev/LicensesDialog/issues/30","number":30,"state":"open","title":"Fixed a little thing in licenses text loading and added some methods for customization","user":{"login":"barondem","id":6568392,"avatar_url":"https://avatars.githubusercontent.com/u/6568392?","gravatar_id":"3b9eef6d2c2a4fd71241b6c74eb4a5f0","url":"https://api.github.com/users/barondem","html_url":"https://github.com/barondem","followers_url":"https://api.github.com/users/barondem/followers","following_url":"https://api.github.com/users/barondem/following{/other_user}","gists_url":"https://api.github.com/users/barondem/gists{/gist_id}","starred_url":"https://api.github.com/users/barondem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barondem/subscriptions","organizations_url":"https://api.github.com/users/barondem/orgs","repos_url":"https://api.github.com/users/barondem/repos","events_url":"https://api.github.com/users/barondem/events{/privacy}","received_events_url":"https://api.github.com/users/barondem/received_events","type":"User","site_admin":false},"body":"Fixed missing space in while construct during licenses text loading (I don't think it's done that way on purpose) and added three methods to customize the dialog theme and title divider with some tricks found on the Web.","created_at":"2014-07-19T18:21:19Z","updated_at":"2014-07-23T16:18:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1065baa0ed395ce1c3c5f9dddae0299206ea2240","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30/commits","review_comments_url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30/comments","review_comment_url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PSDev/LicensesDialog/issues/30/comments","statuses_url":"https://api.github.com/repos/PSDev/LicensesDialog/statuses/d7cb4cb37e9fdb5ecd56e80c85d9a0a62d7b61a7","head":{"label":"barondem:master","ref":"master","sha":"d7cb4cb37e9fdb5ecd56e80c85d9a0a62d7b61a7","user":{"login":"barondem","id":6568392,"avatar_url":"https://avatars.githubusercontent.com/u/6568392?","gravatar_id":"3b9eef6d2c2a4fd71241b6c74eb4a5f0","url":"https://api.github.com/users/barondem","html_url":"https://github.com/barondem","followers_url":"https://api.github.com/users/barondem/followers","following_url":"https://api.github.com/users/barondem/following{/other_user}","gists_url":"https://api.github.com/users/barondem/gists{/gist_id}","starred_url":"https://api.github.com/users/barondem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barondem/subscriptions","organizations_url":"https://api.github.com/users/barondem/orgs","repos_url":"https://api.github.com/users/barondem/repos","events_url":"https://api.github.com/users/barondem/events{/privacy}","received_events_url":"https://api.github.com/users/barondem/received_events","type":"User","site_admin":false},"repo":{"id":22011975,"name":"LicensesDialog","full_name":"barondem/LicensesDialog","owner":{"login":"barondem","id":6568392,"avatar_url":"https://avatars.githubusercontent.com/u/6568392?","gravatar_id":"3b9eef6d2c2a4fd71241b6c74eb4a5f0","url":"https://api.github.com/users/barondem","html_url":"https://github.com/barondem","followers_url":"https://api.github.com/users/barondem/followers","following_url":"https://api.github.com/users/barondem/following{/other_user}","gists_url":"https://api.github.com/users/barondem/gists{/gist_id}","starred_url":"https://api.github.com/users/barondem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barondem/subscriptions","organizations_url":"https://api.github.com/users/barondem/orgs","repos_url":"https://api.github.com/users/barondem/repos","events_url":"https://api.github.com/users/barondem/events{/privacy}","received_events_url":"https://api.github.com/users/barondem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/barondem/LicensesDialog","description":"LicensesDialog is an open source library to display licenses of third-party libraries in an Android app.","fork":true,"url":"https://api.github.com/repos/barondem/LicensesDialog","forks_url":"https://api.github.com/repos/barondem/LicensesDialog/forks","keys_url":"https://api.github.com/repos/barondem/LicensesDialog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barondem/LicensesDialog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barondem/LicensesDialog/teams","hooks_url":"https://api.github.com/repos/barondem/LicensesDialog/hooks","issue_events_url":"https://api.github.com/repos/barondem/LicensesDialog/issues/events{/number}","events_url":"https://api.github.com/repos/barondem/LicensesDialog/events","assignees_url":"https://api.github.com/repos/barondem/LicensesDialog/assignees{/user}","branches_url":"https://api.github.com/repos/barondem/LicensesDialog/branches{/branch}","tags_url":"https://api.github.com/repos/barondem/LicensesDialog/tags","blobs_url":"https://api.github.com/repos/barondem/LicensesDialog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barondem/LicensesDialog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barondem/LicensesDialog/git/refs{/sha}","trees_url":"https://api.github.com/repos/barondem/LicensesDialog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barondem/LicensesDialog/statuses/{sha}","languages_url":"https://api.github.com/repos/barondem/LicensesDialog/languages","stargazers_url":"https://api.github.com/repos/barondem/LicensesDialog/stargazers","contributors_url":"https://api.github.com/repos/barondem/LicensesDialog/contributors","subscribers_url":"https://api.github.com/repos/barondem/LicensesDialog/subscribers","subscription_url":"https://api.github.com/repos/barondem/LicensesDialog/subscription","commits_url":"https://api.github.com/repos/barondem/LicensesDialog/commits{/sha}","git_commits_url":"https://api.github.com/repos/barondem/LicensesDialog/git/commits{/sha}","comments_url":"https://api.github.com/repos/barondem/LicensesDialog/comments{/number}","issue_comment_url":"https://api.github.com/repos/barondem/LicensesDialog/issues/comments/{number}","contents_url":"https://api.github.com/repos/barondem/LicensesDialog/contents/{+path}","compare_url":"https://api.github.com/repos/barondem/LicensesDialog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barondem/LicensesDialog/merges","archive_url":"https://api.github.com/repos/barondem/LicensesDialog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barondem/LicensesDialog/downloads","issues_url":"https://api.github.com/repos/barondem/LicensesDialog/issues{/number}","pulls_url":"https://api.github.com/repos/barondem/LicensesDialog/pulls{/number}","milestones_url":"https://api.github.com/repos/barondem/LicensesDialog/milestones{/number}","notifications_url":"https://api.github.com/repos/barondem/LicensesDialog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barondem/LicensesDialog/labels{/name}","releases_url":"https://api.github.com/repos/barondem/LicensesDialog/releases{/id}","created_at":"2014-07-19T14:55:15Z","updated_at":"2014-07-19T14:57:54Z","pushed_at":"2014-07-23T16:15:47Z","git_url":"git://github.com/barondem/LicensesDialog.git","ssh_url":"git@github.com:barondem/LicensesDialog.git","clone_url":"https://github.com/barondem/LicensesDialog.git","svn_url":"https://github.com/barondem/LicensesDialog","homepage":"http://psdev.de/LicensesDialog","size":761,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PSDev:master","ref":"master","sha":"95e2064933fc31ebc05a3f791a2ca2d3ce78a650","user":{"login":"PSDev","id":1948996,"avatar_url":"https://avatars.githubusercontent.com/u/1948996?","gravatar_id":"dd39ff9f425e4adfbc216635e0793398","url":"https://api.github.com/users/PSDev","html_url":"https://github.com/PSDev","followers_url":"https://api.github.com/users/PSDev/followers","following_url":"https://api.github.com/users/PSDev/following{/other_user}","gists_url":"https://api.github.com/users/PSDev/gists{/gist_id}","starred_url":"https://api.github.com/users/PSDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSDev/subscriptions","organizations_url":"https://api.github.com/users/PSDev/orgs","repos_url":"https://api.github.com/users/PSDev/repos","events_url":"https://api.github.com/users/PSDev/events{/privacy}","received_events_url":"https://api.github.com/users/PSDev/received_events","type":"Organization","site_admin":false},"repo":{"id":9040104,"name":"LicensesDialog","full_name":"PSDev/LicensesDialog","owner":{"login":"PSDev","id":1948996,"avatar_url":"https://avatars.githubusercontent.com/u/1948996?","gravatar_id":"dd39ff9f425e4adfbc216635e0793398","url":"https://api.github.com/users/PSDev","html_url":"https://github.com/PSDev","followers_url":"https://api.github.com/users/PSDev/followers","following_url":"https://api.github.com/users/PSDev/following{/other_user}","gists_url":"https://api.github.com/users/PSDev/gists{/gist_id}","starred_url":"https://api.github.com/users/PSDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSDev/subscriptions","organizations_url":"https://api.github.com/users/PSDev/orgs","repos_url":"https://api.github.com/users/PSDev/repos","events_url":"https://api.github.com/users/PSDev/events{/privacy}","received_events_url":"https://api.github.com/users/PSDev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PSDev/LicensesDialog","description":"LicensesDialog is an open source library to display licenses of third-party libraries in an Android app.","fork":false,"url":"https://api.github.com/repos/PSDev/LicensesDialog","forks_url":"https://api.github.com/repos/PSDev/LicensesDialog/forks","keys_url":"https://api.github.com/repos/PSDev/LicensesDialog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PSDev/LicensesDialog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PSDev/LicensesDialog/teams","hooks_url":"https://api.github.com/repos/PSDev/LicensesDialog/hooks","issue_events_url":"https://api.github.com/repos/PSDev/LicensesDialog/issues/events{/number}","events_url":"https://api.github.com/repos/PSDev/LicensesDialog/events","assignees_url":"https://api.github.com/repos/PSDev/LicensesDialog/assignees{/user}","branches_url":"https://api.github.com/repos/PSDev/LicensesDialog/branches{/branch}","tags_url":"https://api.github.com/repos/PSDev/LicensesDialog/tags","blobs_url":"https://api.github.com/repos/PSDev/LicensesDialog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PSDev/LicensesDialog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PSDev/LicensesDialog/git/refs{/sha}","trees_url":"https://api.github.com/repos/PSDev/LicensesDialog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PSDev/LicensesDialog/statuses/{sha}","languages_url":"https://api.github.com/repos/PSDev/LicensesDialog/languages","stargazers_url":"https://api.github.com/repos/PSDev/LicensesDialog/stargazers","contributors_url":"https://api.github.com/repos/PSDev/LicensesDialog/contributors","subscribers_url":"https://api.github.com/repos/PSDev/LicensesDialog/subscribers","subscription_url":"https://api.github.com/repos/PSDev/LicensesDialog/subscription","commits_url":"https://api.github.com/repos/PSDev/LicensesDialog/commits{/sha}","git_commits_url":"https://api.github.com/repos/PSDev/LicensesDialog/git/commits{/sha}","comments_url":"https://api.github.com/repos/PSDev/LicensesDialog/comments{/number}","issue_comment_url":"https://api.github.com/repos/PSDev/LicensesDialog/issues/comments/{number}","contents_url":"https://api.github.com/repos/PSDev/LicensesDialog/contents/{+path}","compare_url":"https://api.github.com/repos/PSDev/LicensesDialog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PSDev/LicensesDialog/merges","archive_url":"https://api.github.com/repos/PSDev/LicensesDialog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PSDev/LicensesDialog/downloads","issues_url":"https://api.github.com/repos/PSDev/LicensesDialog/issues{/number}","pulls_url":"https://api.github.com/repos/PSDev/LicensesDialog/pulls{/number}","milestones_url":"https://api.github.com/repos/PSDev/LicensesDialog/milestones{/number}","notifications_url":"https://api.github.com/repos/PSDev/LicensesDialog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PSDev/LicensesDialog/labels{/name}","releases_url":"https://api.github.com/repos/PSDev/LicensesDialog/releases{/id}","created_at":"2013-03-26T20:50:31Z","updated_at":"2014-07-23T15:47:35Z","pushed_at":"2014-07-07T18:49:35Z","git_url":"git://github.com/PSDev/LicensesDialog.git","ssh_url":"git@github.com:PSDev/LicensesDialog.git","clone_url":"https://github.com/PSDev/LicensesDialog.git","svn_url":"https://github.com/PSDev/LicensesDialog","homepage":"http://psdev.de/LicensesDialog","size":1341,"stargazers_count":113,"watchers_count":113,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":35,"mirror_url":null,"open_issues_count":3,"forks":35,"open_issues":3,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30"},"html":{"href":"https://github.com/PSDev/LicensesDialog/pull/30"},"issue":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/issues/30"},"comments":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/PSDev/LicensesDialog/statuses/d7cb4cb37e9fdb5ecd56e80c85d9a0a62d7b61a7"}}}}