{"action":"created","comment":{"url":"https://api.github.com/repos/awesome-academy/Music_42/pulls/comments/235305356","pull_request_review_id":177138018,"id":235305356,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTMwNTM1Ng==","diff_hunk":"@@ -0,0 +1,92 @@\n+package com.framgia.quangtran.music_42.data.source.local;\n+\n+import android.content.Context;\n+import android.database.Cursor;\n+import android.os.AsyncTask;\n+import android.provider.MediaStore;\n+\n+import com.framgia.quangtran.music_42.data.model.Track;\n+import com.framgia.quangtran.music_42.data.source.TrackDataSource;\n+import com.framgia.quangtran.music_42.util.StringUtil;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+public class TrackStorage extends AsyncTask<Void, Void, List<Track>> {\n+    private static final String SQL_SELECTION = \"=?\";\n+    private Context mContext;\n+    private TrackDataSource.DataCallback<Track> mCallback;\n+\n+    public TrackStorage(Context context, TrackDataSource.DataCallback<Track> callback) {","path":"app/src/main/java/com/framgia/quangtran/music_42/data/source/local/TrackStorage.java","position":20,"original_position":20,"commit_id":"cb27a8917dc39f121dcaecdbf19f6215e70d72e3","original_commit_id":"cb27a8917dc39f121dcaecdbf19f6215e70d72e3","user":{"login":"tuannguyen38","id":36411574,"node_id":"MDQ6VXNlcjM2NDExNTc0","avatar_url":"https://avatars3.githubusercontent.com/u/36411574?v=4","gravatar_id":"","url":"https://api.github.com/users/tuannguyen38","html_url":"https://github.com/tuannguyen38","followers_url":"https://api.github.com/users/tuannguyen38/followers","following_url":"https://api.github.com/users/tuannguyen38/following{/other_user}","gists_url":"https://api.github.com/users/tuannguyen38/gists{/gist_id}","starred_url":"https://api.github.com/users/tuannguyen38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuannguyen38/subscriptions","organizations_url":"https://api.github.com/users/tuannguyen38/orgs","repos_url":"https://api.github.com/users/tuannguyen38/repos","events_url":"https://api.github.com/users/tuannguyen38/events{/privacy}","received_events_url":"https://api.github.com/users/tuannguyen38/received_events","type":"User","site_admin":false},"body":"tạo private constructor và singeton","created_at":"2018-11-21T09:16:08Z","updated_at":"2018-11-21T09:16:12Z","html_url":"https://github.com/awesome-academy/Music_42/pull/3#discussion_r235305356","pull_request_url":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/Music_42/pulls/comments/235305356"},"html":{"href":"https://github.com/awesome-academy/Music_42/pull/3#discussion_r235305356"},"pull_request":{"href":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3","id":232578338,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNTc4MzM4","html_url":"https://github.com/awesome-academy/Music_42/pull/3","diff_url":"https://github.com/awesome-academy/Music_42/pull/3.diff","patch_url":"https://github.com/awesome-academy/Music_42/pull/3.patch","issue_url":"https://api.github.com/repos/awesome-academy/Music_42/issues/3","number":3,"state":"open","locked":false,"title":"3586 SlashScreen,get Local music,Remote Music","user":{"login":"0963900910","id":43363112,"node_id":"MDQ6VXNlcjQzMzYzMTEy","avatar_url":"https://avatars1.githubusercontent.com/u/43363112?v=4","gravatar_id":"","url":"https://api.github.com/users/0963900910","html_url":"https://github.com/0963900910","followers_url":"https://api.github.com/users/0963900910/followers","following_url":"https://api.github.com/users/0963900910/following{/other_user}","gists_url":"https://api.github.com/users/0963900910/gists{/gist_id}","starred_url":"https://api.github.com/users/0963900910/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0963900910/subscriptions","organizations_url":"https://api.github.com/users/0963900910/orgs","repos_url":"https://api.github.com/users/0963900910/repos","events_url":"https://api.github.com/users/0963900910/events{/privacy}","received_events_url":"https://api.github.com/users/0963900910/received_events","type":"User","site_admin":false},"body":"SlashScreen,get Local music,Remote Music\r\nhttps://edu-redmine.framgia.vn/issues/3586\r\nhttps://edu-redmine.framgia.vn/issues/3587","created_at":"2018-11-21T08:39:56Z","updated_at":"2018-11-21T09:16:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d6bb35f07850da64b540faaec54eb44695512ce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3/commits","review_comments_url":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3/comments","review_comment_url":"https://api.github.com/repos/awesome-academy/Music_42/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awesome-academy/Music_42/issues/3/comments","statuses_url":"https://api.github.com/repos/awesome-academy/Music_42/statuses/cb27a8917dc39f121dcaecdbf19f6215e70d72e3","head":{"label":"0963900910:3586_SlashScreen","ref":"3586_SlashScreen","sha":"cb27a8917dc39f121dcaecdbf19f6215e70d72e3","user":{"login":"0963900910","id":43363112,"node_id":"MDQ6VXNlcjQzMzYzMTEy","avatar_url":"https://avatars1.githubusercontent.com/u/43363112?v=4","gravatar_id":"","url":"https://api.github.com/users/0963900910","html_url":"https://github.com/0963900910","followers_url":"https://api.github.com/users/0963900910/followers","following_url":"https://api.github.com/users/0963900910/following{/other_user}","gists_url":"https://api.github.com/users/0963900910/gists{/gist_id}","starred_url":"https://api.github.com/users/0963900910/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0963900910/subscriptions","organizations_url":"https://api.github.com/users/0963900910/orgs","repos_url":"https://api.github.com/users/0963900910/repos","events_url":"https://api.github.com/users/0963900910/events{/privacy}","received_events_url":"https://api.github.com/users/0963900910/received_events","type":"User","site_admin":false},"repo":{"id":157649660,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc2NDk2NjA=","name":"Music_42","full_name":"0963900910/Music_42","private":false,"owner":{"login":"0963900910","id":43363112,"node_id":"MDQ6VXNlcjQzMzYzMTEy","avatar_url":"https://avatars1.githubusercontent.com/u/43363112?v=4","gravatar_id":"","url":"https://api.github.com/users/0963900910","html_url":"https://github.com/0963900910","followers_url":"https://api.github.com/users/0963900910/followers","following_url":"https://api.github.com/users/0963900910/following{/other_user}","gists_url":"https://api.github.com/users/0963900910/gists{/gist_id}","starred_url":"https://api.github.com/users/0963900910/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0963900910/subscriptions","organizations_url":"https://api.github.com/users/0963900910/orgs","repos_url":"https://api.github.com/users/0963900910/repos","events_url":"https://api.github.com/users/0963900910/events{/privacy}","received_events_url":"https://api.github.com/users/0963900910/received_events","type":"User","site_admin":false},"html_url":"https://github.com/0963900910/Music_42","description":"For Lab_QuangTD","fork":true,"url":"https://api.github.com/repos/0963900910/Music_42","forks_url":"https://api.github.com/repos/0963900910/Music_42/forks","keys_url":"https://api.github.com/repos/0963900910/Music_42/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0963900910/Music_42/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0963900910/Music_42/teams","hooks_url":"https://api.github.com/repos/0963900910/Music_42/hooks","issue_events_url":"https://api.github.com/repos/0963900910/Music_42/issues/events{/number}","events_url":"https://api.github.com/repos/0963900910/Music_42/events","assignees_url":"https://api.github.com/repos/0963900910/Music_42/assignees{/user}","branches_url":"https://api.github.com/repos/0963900910/Music_42/branches{/branch}","tags_url":"https://api.github.com/repos/0963900910/Music_42/tags","blobs_url":"https://api.github.com/repos/0963900910/Music_42/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0963900910/Music_42/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0963900910/Music_42/git/refs{/sha}","trees_url":"https://api.github.com/repos/0963900910/Music_42/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0963900910/Music_42/statuses/{sha}","languages_url":"https://api.github.com/repos/0963900910/Music_42/languages","stargazers_url":"https://api.github.com/repos/0963900910/Music_42/stargazers","contributors_url":"https://api.github.com/repos/0963900910/Music_42/contributors","subscribers_url":"https://api.github.com/repos/0963900910/Music_42/subscribers","subscription_url":"https://api.github.com/repos/0963900910/Music_42/subscription","commits_url":"https://api.github.com/repos/0963900910/Music_42/commits{/sha}","git_commits_url":"https://api.github.com/repos/0963900910/Music_42/git/commits{/sha}","comments_url":"https://api.github.com/repos/0963900910/Music_42/comments{/number}","issue_comment_url":"https://api.github.com/repos/0963900910/Music_42/issues/comments{/number}","contents_url":"https://api.github.com/repos/0963900910/Music_42/contents/{+path}","compare_url":"https://api.github.com/repos/0963900910/Music_42/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0963900910/Music_42/merges","archive_url":"https://api.github.com/repos/0963900910/Music_42/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0963900910/Music_42/downloads","issues_url":"https://api.github.com/repos/0963900910/Music_42/issues{/number}","pulls_url":"https://api.github.com/repos/0963900910/Music_42/pulls{/number}","milestones_url":"https://api.github.com/repos/0963900910/Music_42/milestones{/number}","notifications_url":"https://api.github.com/repos/0963900910/Music_42/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0963900910/Music_42/labels{/name}","releases_url":"https://api.github.com/repos/0963900910/Music_42/releases{/id}","deployments_url":"https://api.github.com/repos/0963900910/Music_42/deployments","created_at":"2018-11-15T03:57:48Z","updated_at":"2018-11-15T03:57:50Z","pushed_at":"2018-11-21T08:36:35Z","git_url":"git://github.com/0963900910/Music_42.git","ssh_url":"git@github.com:0963900910/Music_42.git","clone_url":"https://github.com/0963900910/Music_42.git","svn_url":"https://github.com/0963900910/Music_42","homepage":null,"size":438,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"awesome-academy:develop","ref":"develop","sha":"0cf889318cc2199be796cfe6aba8219a32bc5df2","user":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":157475476,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc0NzU0NzY=","name":"Music_42","full_name":"awesome-academy/Music_42","private":false,"owner":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/awesome-academy/Music_42","description":"For Lab_QuangTD","fork":false,"url":"https://api.github.com/repos/awesome-academy/Music_42","forks_url":"https://api.github.com/repos/awesome-academy/Music_42/forks","keys_url":"https://api.github.com/repos/awesome-academy/Music_42/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awesome-academy/Music_42/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awesome-academy/Music_42/teams","hooks_url":"https://api.github.com/repos/awesome-academy/Music_42/hooks","issue_events_url":"https://api.github.com/repos/awesome-academy/Music_42/issues/events{/number}","events_url":"https://api.github.com/repos/awesome-academy/Music_42/events","assignees_url":"https://api.github.com/repos/awesome-academy/Music_42/assignees{/user}","branches_url":"https://api.github.com/repos/awesome-academy/Music_42/branches{/branch}","tags_url":"https://api.github.com/repos/awesome-academy/Music_42/tags","blobs_url":"https://api.github.com/repos/awesome-academy/Music_42/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awesome-academy/Music_42/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awesome-academy/Music_42/git/refs{/sha}","trees_url":"https://api.github.com/repos/awesome-academy/Music_42/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awesome-academy/Music_42/statuses/{sha}","languages_url":"https://api.github.com/repos/awesome-academy/Music_42/languages","stargazers_url":"https://api.github.com/repos/awesome-academy/Music_42/stargazers","contributors_url":"https://api.github.com/repos/awesome-academy/Music_42/contributors","subscribers_url":"https://api.github.com/repos/awesome-academy/Music_42/subscribers","subscription_url":"https://api.github.com/repos/awesome-academy/Music_42/subscription","commits_url":"https://api.github.com/repos/awesome-academy/Music_42/commits{/sha}","git_commits_url":"https://api.github.com/repos/awesome-academy/Music_42/git/commits{/sha}","comments_url":"https://api.github.com/repos/awesome-academy/Music_42/comments{/number}","issue_comment_url":"https://api.github.com/repos/awesome-academy/Music_42/issues/comments{/number}","contents_url":"https://api.github.com/repos/awesome-academy/Music_42/contents/{+path}","compare_url":"https://api.github.com/repos/awesome-academy/Music_42/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awesome-academy/Music_42/merges","archive_url":"https://api.github.com/repos/awesome-academy/Music_42/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awesome-academy/Music_42/downloads","issues_url":"https://api.github.com/repos/awesome-academy/Music_42/issues{/number}","pulls_url":"https://api.github.com/repos/awesome-academy/Music_42/pulls{/number}","milestones_url":"https://api.github.com/repos/awesome-academy/Music_42/milestones{/number}","notifications_url":"https://api.github.com/repos/awesome-academy/Music_42/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awesome-academy/Music_42/labels{/name}","releases_url":"https://api.github.com/repos/awesome-academy/Music_42/releases{/id}","deployments_url":"https://api.github.com/repos/awesome-academy/Music_42/deployments","created_at":"2018-11-14T02:04:37Z","updated_at":"2018-11-20T06:27:45Z","pushed_at":"2018-11-21T08:39:57Z","git_url":"git://github.com/awesome-academy/Music_42.git","ssh_url":"git@github.com:awesome-academy/Music_42.git","clone_url":"https://github.com/awesome-academy/Music_42.git","svn_url":"https://github.com/awesome-academy/Music_42","homepage":null,"size":421,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3"},"html":{"href":"https://github.com/awesome-academy/Music_42/pull/3"},"issue":{"href":"https://api.github.com/repos/awesome-academy/Music_42/issues/3"},"comments":{"href":"https://api.github.com/repos/awesome-academy/Music_42/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/awesome-academy/Music_42/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awesome-academy/Music_42/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/awesome-academy/Music_42/statuses/cb27a8917dc39f121dcaecdbf19f6215e70d72e3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tuannguyen38"}}