{"action":"created","comment":{"url":"https://api.github.com/repos/sdsmdg/trianglify/pulls/comments/116379996","pull_request_review_id":37999184,"id":116379996,"diff_hunk":"@@ -108,4 +112,29 @@ private Triangulation generateColoredSoup(Triangulation inputTriangulation) {\n     public void clearSoup() {\n         triangulation = null;\n     }\n+    public void generateSoupAndInvalidateView(){\n+        if(generatorTask!=null) {\n+            generatorTask.cancel(true);\n+        }\n+        generatorTask = new TriangleGeneratorTask();\n+        generatorTask.execute();    }\n+\n+\n+\n+\n+","path":"trianglify/src/main/java/com/sdsmdg/kd/trianglify/presenters/Presenter.java","position":39,"original_position":39,"commit_id":"0ead92df25bd249bd59d86522609a9e22e2af18a","original_commit_id":"0ead92df25bd249bd59d86522609a9e22e2af18a","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars2.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"body":"reduce to two blank lines.","created_at":"2017-05-14T12:44:41Z","updated_at":"2017-05-14T12:44:41Z","html_url":"https://github.com/sdsmdg/trianglify/pull/27#discussion_r116379996","pull_request_url":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/sdsmdg/trianglify/pulls/comments/116379996"},"html":{"href":"https://github.com/sdsmdg/trianglify/pull/27#discussion_r116379996"},"pull_request":{"href":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27","id":120479747,"html_url":"https://github.com/sdsmdg/trianglify/pull/27","diff_url":"https://github.com/sdsmdg/trianglify/pull/27.diff","patch_url":"https://github.com/sdsmdg/trianglify/pull/27.patch","issue_url":"https://api.github.com/repos/sdsmdg/trianglify/issues/27","number":27,"state":"open","locked":false,"title":"UI Thread Freezing Fix","user":{"login":"ArihantJain456","id":23583851,"avatar_url":"https://avatars2.githubusercontent.com/u/23583851?v=3","gravatar_id":"","url":"https://api.github.com/users/ArihantJain456","html_url":"https://github.com/ArihantJain456","followers_url":"https://api.github.com/users/ArihantJain456/followers","following_url":"https://api.github.com/users/ArihantJain456/following{/other_user}","gists_url":"https://api.github.com/users/ArihantJain456/gists{/gist_id}","starred_url":"https://api.github.com/users/ArihantJain456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArihantJain456/subscriptions","organizations_url":"https://api.github.com/users/ArihantJain456/orgs","repos_url":"https://api.github.com/users/ArihantJain456/repos","events_url":"https://api.github.com/users/ArihantJain456/events{/privacy}","received_events_url":"https://api.github.com/users/ArihantJain456/received_events","type":"User","site_admin":false},"body":"This PR fixes #20 .\r\nIt also introduces a new method generateAndInvalidate() in TrianglifyView class to generate Triangulation according to new parameters and then invalidate  it .","created_at":"2017-05-14T09:46:39Z","updated_at":"2017-05-14T12:44:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6142c16dc6bddb3821e5527a2891c2d96556facf","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27/commits","review_comments_url":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27/comments","review_comment_url":"https://api.github.com/repos/sdsmdg/trianglify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sdsmdg/trianglify/issues/27/comments","statuses_url":"https://api.github.com/repos/sdsmdg/trianglify/statuses/0ead92df25bd249bd59d86522609a9e22e2af18a","head":{"label":"sdsmdg:ui_thread-fix","ref":"ui_thread-fix","sha":"0ead92df25bd249bd59d86522609a9e22e2af18a","user":{"login":"sdsmdg","id":6321651,"avatar_url":"https://avatars1.githubusercontent.com/u/6321651?v=3","gravatar_id":"","url":"https://api.github.com/users/sdsmdg","html_url":"https://github.com/sdsmdg","followers_url":"https://api.github.com/users/sdsmdg/followers","following_url":"https://api.github.com/users/sdsmdg/following{/other_user}","gists_url":"https://api.github.com/users/sdsmdg/gists{/gist_id}","starred_url":"https://api.github.com/users/sdsmdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdsmdg/subscriptions","organizations_url":"https://api.github.com/users/sdsmdg/orgs","repos_url":"https://api.github.com/users/sdsmdg/repos","events_url":"https://api.github.com/users/sdsmdg/events{/privacy}","received_events_url":"https://api.github.com/users/sdsmdg/received_events","type":"Organization","site_admin":false},"repo":{"id":80398289,"name":"trianglify","full_name":"sdsmdg/trianglify","owner":{"login":"sdsmdg","id":6321651,"avatar_url":"https://avatars1.githubusercontent.com/u/6321651?v=3","gravatar_id":"","url":"https://api.github.com/users/sdsmdg","html_url":"https://github.com/sdsmdg","followers_url":"https://api.github.com/users/sdsmdg/followers","following_url":"https://api.github.com/users/sdsmdg/following{/other_user}","gists_url":"https://api.github.com/users/sdsmdg/gists{/gist_id}","starred_url":"https://api.github.com/users/sdsmdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdsmdg/subscriptions","organizations_url":"https://api.github.com/users/sdsmdg/orgs","repos_url":"https://api.github.com/users/sdsmdg/repos","events_url":"https://api.github.com/users/sdsmdg/events{/privacy}","received_events_url":"https://api.github.com/users/sdsmdg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sdsmdg/trianglify","description":"Android library to provide custom Views with algorithmic generation of triangular patterns.","fork":false,"url":"https://api.github.com/repos/sdsmdg/trianglify","forks_url":"https://api.github.com/repos/sdsmdg/trianglify/forks","keys_url":"https://api.github.com/repos/sdsmdg/trianglify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdsmdg/trianglify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdsmdg/trianglify/teams","hooks_url":"https://api.github.com/repos/sdsmdg/trianglify/hooks","issue_events_url":"https://api.github.com/repos/sdsmdg/trianglify/issues/events{/number}","events_url":"https://api.github.com/repos/sdsmdg/trianglify/events","assignees_url":"https://api.github.com/repos/sdsmdg/trianglify/assignees{/user}","branches_url":"https://api.github.com/repos/sdsmdg/trianglify/branches{/branch}","tags_url":"https://api.github.com/repos/sdsmdg/trianglify/tags","blobs_url":"https://api.github.com/repos/sdsmdg/trianglify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdsmdg/trianglify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdsmdg/trianglify/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdsmdg/trianglify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdsmdg/trianglify/statuses/{sha}","languages_url":"https://api.github.com/repos/sdsmdg/trianglify/languages","stargazers_url":"https://api.github.com/repos/sdsmdg/trianglify/stargazers","contributors_url":"https://api.github.com/repos/sdsmdg/trianglify/contributors","subscribers_url":"https://api.github.com/repos/sdsmdg/trianglify/subscribers","subscription_url":"https://api.github.com/repos/sdsmdg/trianglify/subscription","commits_url":"https://api.github.com/repos/sdsmdg/trianglify/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdsmdg/trianglify/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdsmdg/trianglify/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdsmdg/trianglify/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdsmdg/trianglify/contents/{+path}","compare_url":"https://api.github.com/repos/sdsmdg/trianglify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdsmdg/trianglify/merges","archive_url":"https://api.github.com/repos/sdsmdg/trianglify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdsmdg/trianglify/downloads","issues_url":"https://api.github.com/repos/sdsmdg/trianglify/issues{/number}","pulls_url":"https://api.github.com/repos/sdsmdg/trianglify/pulls{/number}","milestones_url":"https://api.github.com/repos/sdsmdg/trianglify/milestones{/number}","notifications_url":"https://api.github.com/repos/sdsmdg/trianglify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdsmdg/trianglify/labels{/name}","releases_url":"https://api.github.com/repos/sdsmdg/trianglify/releases{/id}","deployments_url":"https://api.github.com/repos/sdsmdg/trianglify/deployments","created_at":"2017-01-30T06:18:31Z","updated_at":"2017-05-14T08:46:24Z","pushed_at":"2017-05-14T11:26:05Z","git_url":"git://github.com/sdsmdg/trianglify.git","ssh_url":"git@github.com:sdsmdg/trianglify.git","clone_url":"https://github.com/sdsmdg/trianglify.git","svn_url":"https://github.com/sdsmdg/trianglify","homepage":null,"size":548,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":17,"default_branch":"develop"}},"base":{"label":"sdsmdg:develop","ref":"develop","sha":"b835f53b8cef4888c2bfea10ea3d92faea41580c","user":{"login":"sdsmdg","id":6321651,"avatar_url":"https://avatars1.githubusercontent.com/u/6321651?v=3","gravatar_id":"","url":"https://api.github.com/users/sdsmdg","html_url":"https://github.com/sdsmdg","followers_url":"https://api.github.com/users/sdsmdg/followers","following_url":"https://api.github.com/users/sdsmdg/following{/other_user}","gists_url":"https://api.github.com/users/sdsmdg/gists{/gist_id}","starred_url":"https://api.github.com/users/sdsmdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdsmdg/subscriptions","organizations_url":"https://api.github.com/users/sdsmdg/orgs","repos_url":"https://api.github.com/users/sdsmdg/repos","events_url":"https://api.github.com/users/sdsmdg/events{/privacy}","received_events_url":"https://api.github.com/users/sdsmdg/received_events","type":"Organization","site_admin":false},"repo":{"id":80398289,"name":"trianglify","full_name":"sdsmdg/trianglify","owner":{"login":"sdsmdg","id":6321651,"avatar_url":"https://avatars1.githubusercontent.com/u/6321651?v=3","gravatar_id":"","url":"https://api.github.com/users/sdsmdg","html_url":"https://github.com/sdsmdg","followers_url":"https://api.github.com/users/sdsmdg/followers","following_url":"https://api.github.com/users/sdsmdg/following{/other_user}","gists_url":"https://api.github.com/users/sdsmdg/gists{/gist_id}","starred_url":"https://api.github.com/users/sdsmdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdsmdg/subscriptions","organizations_url":"https://api.github.com/users/sdsmdg/orgs","repos_url":"https://api.github.com/users/sdsmdg/repos","events_url":"https://api.github.com/users/sdsmdg/events{/privacy}","received_events_url":"https://api.github.com/users/sdsmdg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sdsmdg/trianglify","description":"Android library to provide custom Views with algorithmic generation of triangular patterns.","fork":false,"url":"https://api.github.com/repos/sdsmdg/trianglify","forks_url":"https://api.github.com/repos/sdsmdg/trianglify/forks","keys_url":"https://api.github.com/repos/sdsmdg/trianglify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdsmdg/trianglify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdsmdg/trianglify/teams","hooks_url":"https://api.github.com/repos/sdsmdg/trianglify/hooks","issue_events_url":"https://api.github.com/repos/sdsmdg/trianglify/issues/events{/number}","events_url":"https://api.github.com/repos/sdsmdg/trianglify/events","assignees_url":"https://api.github.com/repos/sdsmdg/trianglify/assignees{/user}","branches_url":"https://api.github.com/repos/sdsmdg/trianglify/branches{/branch}","tags_url":"https://api.github.com/repos/sdsmdg/trianglify/tags","blobs_url":"https://api.github.com/repos/sdsmdg/trianglify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdsmdg/trianglify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdsmdg/trianglify/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdsmdg/trianglify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdsmdg/trianglify/statuses/{sha}","languages_url":"https://api.github.com/repos/sdsmdg/trianglify/languages","stargazers_url":"https://api.github.com/repos/sdsmdg/trianglify/stargazers","contributors_url":"https://api.github.com/repos/sdsmdg/trianglify/contributors","subscribers_url":"https://api.github.com/repos/sdsmdg/trianglify/subscribers","subscription_url":"https://api.github.com/repos/sdsmdg/trianglify/subscription","commits_url":"https://api.github.com/repos/sdsmdg/trianglify/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdsmdg/trianglify/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdsmdg/trianglify/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdsmdg/trianglify/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdsmdg/trianglify/contents/{+path}","compare_url":"https://api.github.com/repos/sdsmdg/trianglify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdsmdg/trianglify/merges","archive_url":"https://api.github.com/repos/sdsmdg/trianglify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdsmdg/trianglify/downloads","issues_url":"https://api.github.com/repos/sdsmdg/trianglify/issues{/number}","pulls_url":"https://api.github.com/repos/sdsmdg/trianglify/pulls{/number}","milestones_url":"https://api.github.com/repos/sdsmdg/trianglify/milestones{/number}","notifications_url":"https://api.github.com/repos/sdsmdg/trianglify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdsmdg/trianglify/labels{/name}","releases_url":"https://api.github.com/repos/sdsmdg/trianglify/releases{/id}","deployments_url":"https://api.github.com/repos/sdsmdg/trianglify/deployments","created_at":"2017-01-30T06:18:31Z","updated_at":"2017-05-14T08:46:24Z","pushed_at":"2017-05-14T11:26:05Z","git_url":"git://github.com/sdsmdg/trianglify.git","ssh_url":"git@github.com:sdsmdg/trianglify.git","clone_url":"https://github.com/sdsmdg/trianglify.git","svn_url":"https://github.com/sdsmdg/trianglify","homepage":null,"size":548,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":17,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27"},"html":{"href":"https://github.com/sdsmdg/trianglify/pull/27"},"issue":{"href":"https://api.github.com/repos/sdsmdg/trianglify/issues/27"},"comments":{"href":"https://api.github.com/repos/sdsmdg/trianglify/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/sdsmdg/trianglify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sdsmdg/trianglify/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/sdsmdg/trianglify/statuses/0ead92df25bd249bd59d86522609a9e22e2af18a"}}}}
{"actor":{"display_login":"karandesai-96"}}