{"action":"created","comment":{"url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/comments/79708254","id":79708254,"diff_hunk":"@@ -1,7 +1,52 @@\n package geoquiz.android.bignerdranch.com.test.manager;\n \n+import android.content.Context;\n+\n+import java.util.ArrayList;\n+import java.util.UUID;\n+\n+import geoquiz.android.bignerdranch.com.test.model.Crime;\n+\n /**\n  * Created by Администратор on 18.09.2016.\n  */\n public class CrimeLab {\n+    private ArrayList<Crime> mCrimes;\n+    private static CrimeLab sCrimeLab;\n+    private Context mAppContext;\n+\n+\n+    private CrimeLab(Context appContext) {\n+        mAppContext = appContext;\n+        mCrimes = new ArrayList<Crime>();\n+        for(int i=0; i<100; i++){\n+            Crime c = new Crime();\n+            c.setmTitle(\"Title \" + i);\n+            c.setmSolved(i % 2 ==0);\n+            mCrimes.add(c);\n+        }\n+    }\n+    /*\n+    Метод который используем для определения контекста при загрузке ListFragmenta\n+    если CrimeLab не загружен задаем ему данные контекста обьекта Crime;\n+     */\n+    public static CrimeLab get(Context c) {\n+        if (sCrimeLab == null) {\n+            sCrimeLab = new CrimeLab(c.getApplicationContext());\n+        }\n+        return sCrimeLab;\n+    }","path":"app/src/main/java/geoquiz/android/bignerdranch/com/test/manager/CrimeLab.java","position":38,"original_position":38,"commit_id":"d6a19cb0f8b820aa4e8150eae03c8f0f2759c8f5","original_commit_id":"d6a19cb0f8b820aa4e8150eae03c8f0f2759c8f5","user":{"login":"DreamerII","id":7131875,"avatar_url":"https://avatars.githubusercontent.com/u/7131875?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamerII","html_url":"https://github.com/DreamerII","followers_url":"https://api.github.com/users/DreamerII/followers","following_url":"https://api.github.com/users/DreamerII/following{/other_user}","gists_url":"https://api.github.com/users/DreamerII/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamerII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamerII/subscriptions","organizations_url":"https://api.github.com/users/DreamerII/orgs","repos_url":"https://api.github.com/users/DreamerII/repos","events_url":"https://api.github.com/users/DreamerII/events{/privacy}","received_events_url":"https://api.github.com/users/DreamerII/received_events","type":"User","site_admin":false},"body":"add space\r\n","created_at":"2016-09-20T20:46:40Z","updated_at":"2016-09-20T20:46:40Z","html_url":"https://github.com/ManGustT2/CriminalIntentTest/pull/3#discussion_r79708254","pull_request_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/comments/79708254"},"html":{"href":"https://github.com/ManGustT2/CriminalIntentTest/pull/3#discussion_r79708254"},"pull_request":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3","id":86052507,"html_url":"https://github.com/ManGustT2/CriminalIntentTest/pull/3","diff_url":"https://github.com/ManGustT2/CriminalIntentTest/pull/3.diff","patch_url":"https://github.com/ManGustT2/CriminalIntentTest/pull/3.patch","issue_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/3","number":3,"state":"open","locked":false,"title":"Criminal detale Fragment","user":{"login":"ManGustT2","id":20446934,"avatar_url":"https://avatars.githubusercontent.com/u/20446934?v=3","gravatar_id":"","url":"https://api.github.com/users/ManGustT2","html_url":"https://github.com/ManGustT2","followers_url":"https://api.github.com/users/ManGustT2/followers","following_url":"https://api.github.com/users/ManGustT2/following{/other_user}","gists_url":"https://api.github.com/users/ManGustT2/gists{/gist_id}","starred_url":"https://api.github.com/users/ManGustT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManGustT2/subscriptions","organizations_url":"https://api.github.com/users/ManGustT2/orgs","repos_url":"https://api.github.com/users/ManGustT2/repos","events_url":"https://api.github.com/users/ManGustT2/events{/privacy}","received_events_url":"https://api.github.com/users/ManGustT2/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-20T20:42:50Z","updated_at":"2016-09-20T20:46:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f759fcda08806b2af5279c540bd9e10493752951","assignee":{"login":"DreamerII","id":7131875,"avatar_url":"https://avatars.githubusercontent.com/u/7131875?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamerII","html_url":"https://github.com/DreamerII","followers_url":"https://api.github.com/users/DreamerII/followers","following_url":"https://api.github.com/users/DreamerII/following{/other_user}","gists_url":"https://api.github.com/users/DreamerII/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamerII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamerII/subscriptions","organizations_url":"https://api.github.com/users/DreamerII/orgs","repos_url":"https://api.github.com/users/DreamerII/repos","events_url":"https://api.github.com/users/DreamerII/events{/privacy}","received_events_url":"https://api.github.com/users/DreamerII/received_events","type":"User","site_admin":false},"assignees":[{"login":"DreamerII","id":7131875,"avatar_url":"https://avatars.githubusercontent.com/u/7131875?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamerII","html_url":"https://github.com/DreamerII","followers_url":"https://api.github.com/users/DreamerII/followers","following_url":"https://api.github.com/users/DreamerII/following{/other_user}","gists_url":"https://api.github.com/users/DreamerII/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamerII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamerII/subscriptions","organizations_url":"https://api.github.com/users/DreamerII/orgs","repos_url":"https://api.github.com/users/DreamerII/repos","events_url":"https://api.github.com/users/DreamerII/events{/privacy}","received_events_url":"https://api.github.com/users/DreamerII/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/3/comments","statuses_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/statuses/d6a19cb0f8b820aa4e8150eae03c8f0f2759c8f5","head":{"label":"ManGustT2:Featare/create_detaile_criminal","ref":"Featare/create_detaile_criminal","sha":"d6a19cb0f8b820aa4e8150eae03c8f0f2759c8f5","user":{"login":"ManGustT2","id":20446934,"avatar_url":"https://avatars.githubusercontent.com/u/20446934?v=3","gravatar_id":"","url":"https://api.github.com/users/ManGustT2","html_url":"https://github.com/ManGustT2","followers_url":"https://api.github.com/users/ManGustT2/followers","following_url":"https://api.github.com/users/ManGustT2/following{/other_user}","gists_url":"https://api.github.com/users/ManGustT2/gists{/gist_id}","starred_url":"https://api.github.com/users/ManGustT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManGustT2/subscriptions","organizations_url":"https://api.github.com/users/ManGustT2/orgs","repos_url":"https://api.github.com/users/ManGustT2/repos","events_url":"https://api.github.com/users/ManGustT2/events{/privacy}","received_events_url":"https://api.github.com/users/ManGustT2/received_events","type":"User","site_admin":false},"repo":{"id":68524370,"name":"CriminalIntentTest","full_name":"ManGustT2/CriminalIntentTest","owner":{"login":"ManGustT2","id":20446934,"avatar_url":"https://avatars.githubusercontent.com/u/20446934?v=3","gravatar_id":"","url":"https://api.github.com/users/ManGustT2","html_url":"https://github.com/ManGustT2","followers_url":"https://api.github.com/users/ManGustT2/followers","following_url":"https://api.github.com/users/ManGustT2/following{/other_user}","gists_url":"https://api.github.com/users/ManGustT2/gists{/gist_id}","starred_url":"https://api.github.com/users/ManGustT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManGustT2/subscriptions","organizations_url":"https://api.github.com/users/ManGustT2/orgs","repos_url":"https://api.github.com/users/ManGustT2/repos","events_url":"https://api.github.com/users/ManGustT2/events{/privacy}","received_events_url":"https://api.github.com/users/ManGustT2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ManGustT2/CriminalIntentTest","description":null,"fork":false,"url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest","forks_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/forks","keys_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/teams","hooks_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/hooks","issue_events_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/events{/number}","events_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/events","assignees_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/assignees{/user}","branches_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/branches{/branch}","tags_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/tags","blobs_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/statuses/{sha}","languages_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/languages","stargazers_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/stargazers","contributors_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/contributors","subscribers_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/subscribers","subscription_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/subscription","commits_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/contents/{+path}","compare_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/merges","archive_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/downloads","issues_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues{/number}","pulls_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls{/number}","milestones_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/milestones{/number}","notifications_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/labels{/name}","releases_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/releases{/id}","deployments_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/deployments","created_at":"2016-09-18T13:48:58Z","updated_at":"2016-09-18T14:04:11Z","pushed_at":"2016-09-20T20:42:50Z","git_url":"git://github.com/ManGustT2/CriminalIntentTest.git","ssh_url":"git@github.com:ManGustT2/CriminalIntentTest.git","clone_url":"https://github.com/ManGustT2/CriminalIntentTest.git","svn_url":"https://github.com/ManGustT2/CriminalIntentTest","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ManGustT2:develop","ref":"develop","sha":"92c968985419ed3c2ff6a12ae0eacce1e3fc68ec","user":{"login":"ManGustT2","id":20446934,"avatar_url":"https://avatars.githubusercontent.com/u/20446934?v=3","gravatar_id":"","url":"https://api.github.com/users/ManGustT2","html_url":"https://github.com/ManGustT2","followers_url":"https://api.github.com/users/ManGustT2/followers","following_url":"https://api.github.com/users/ManGustT2/following{/other_user}","gists_url":"https://api.github.com/users/ManGustT2/gists{/gist_id}","starred_url":"https://api.github.com/users/ManGustT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManGustT2/subscriptions","organizations_url":"https://api.github.com/users/ManGustT2/orgs","repos_url":"https://api.github.com/users/ManGustT2/repos","events_url":"https://api.github.com/users/ManGustT2/events{/privacy}","received_events_url":"https://api.github.com/users/ManGustT2/received_events","type":"User","site_admin":false},"repo":{"id":68524370,"name":"CriminalIntentTest","full_name":"ManGustT2/CriminalIntentTest","owner":{"login":"ManGustT2","id":20446934,"avatar_url":"https://avatars.githubusercontent.com/u/20446934?v=3","gravatar_id":"","url":"https://api.github.com/users/ManGustT2","html_url":"https://github.com/ManGustT2","followers_url":"https://api.github.com/users/ManGustT2/followers","following_url":"https://api.github.com/users/ManGustT2/following{/other_user}","gists_url":"https://api.github.com/users/ManGustT2/gists{/gist_id}","starred_url":"https://api.github.com/users/ManGustT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManGustT2/subscriptions","organizations_url":"https://api.github.com/users/ManGustT2/orgs","repos_url":"https://api.github.com/users/ManGustT2/repos","events_url":"https://api.github.com/users/ManGustT2/events{/privacy}","received_events_url":"https://api.github.com/users/ManGustT2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ManGustT2/CriminalIntentTest","description":null,"fork":false,"url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest","forks_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/forks","keys_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/teams","hooks_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/hooks","issue_events_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/events{/number}","events_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/events","assignees_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/assignees{/user}","branches_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/branches{/branch}","tags_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/tags","blobs_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/statuses/{sha}","languages_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/languages","stargazers_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/stargazers","contributors_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/contributors","subscribers_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/subscribers","subscription_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/subscription","commits_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/contents/{+path}","compare_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/merges","archive_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/downloads","issues_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues{/number}","pulls_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls{/number}","milestones_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/milestones{/number}","notifications_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/labels{/name}","releases_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/releases{/id}","deployments_url":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/deployments","created_at":"2016-09-18T13:48:58Z","updated_at":"2016-09-18T14:04:11Z","pushed_at":"2016-09-20T20:42:50Z","git_url":"git://github.com/ManGustT2/CriminalIntentTest.git","ssh_url":"git@github.com:ManGustT2/CriminalIntentTest.git","clone_url":"https://github.com/ManGustT2/CriminalIntentTest.git","svn_url":"https://github.com/ManGustT2/CriminalIntentTest","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3"},"html":{"href":"https://github.com/ManGustT2/CriminalIntentTest/pull/3"},"issue":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/3"},"comments":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ManGustT2/CriminalIntentTest/statuses/d6a19cb0f8b820aa4e8150eae03c8f0f2759c8f5"}}}}
{"actor":{"display_login":"DreamerII"}}