{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/Music_23/pulls/comments/209880874","pull_request_review_id":145977513,"id":209880874,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTg4MDg3NA==","diff_hunk":"@@ -5,33 +5,39 @@\n import android.content.Intent;\n import android.content.ServiceConnection;\n import android.os.Bundle;\n+import android.os.Handler;\n import android.os.IBinder;\n import android.os.Parcelable;\n import android.support.v4.app.Fragment;\n import android.view.LayoutInflater;\n import android.view.View;\n import android.view.ViewGroup;\n-import android.view.animation.Animation;\n-import android.view.animation.AnimationUtils;\n import android.widget.ImageButton;\n+import android.widget.SeekBar;\n import android.widget.TextView;\n import com.bumptech.glide.Glide;\n import com.framgia.music_23.R;\n import com.framgia.music_23.data.model.Song;\n import com.framgia.music_23.screen.service.MusicService;\n import de.hdodenhof.circleimageview.CircleImageView;\n+import java.text.SimpleDateFormat;\n import java.util.ArrayList;\n import java.util.List;\n \n-public class PlayMusicFragment extends Fragment implements View.OnClickListener {\n+public class PlayMusicFragment extends Fragment\n+        implements View.OnClickListener, SeekBar.OnSeekBarChangeListener {\n \n     private static final String ARGUMENT_SONGS = \"ARGUMENT_SONGS\";\n     private static final String ARGUMENT_POSITISON = \"ARGUMENT_POSITISON\";\n+    private static final String FORMAT_TIME = \"mm:ss\";\n     private ImageButton mButtonPlay;\n-    private TextView mTextNameSong, mTextNameArtist;\n+    private TextView mTextNameSong, mTextNameArtist, mTextCurrentTime, mTextEndTime;\n+    private SeekBar mSeekBar;\n     private CircleImageView mCircleImageViewDisk;\n     private MusicService mMusicService;\n     private boolean mIsBound;\n+    private Handler mHandler;\n+    private SimpleDateFormat simpleDateFormat;","path":"app/src/main/java/com/framgia/music_23/screen/playmusic/PlayMusicFragment.java","position":40,"original_position":40,"commit_id":"dd98cdeb388529cf01fb7492a1313a445a3898e1","original_commit_id":"dd98cdeb388529cf01fb7492a1313a445a3898e1","user":{"login":"Tuanlvt","id":16049882,"node_id":"MDQ6VXNlcjE2MDQ5ODgy","avatar_url":"https://avatars1.githubusercontent.com/u/16049882?v=4","gravatar_id":"","url":"https://api.github.com/users/Tuanlvt","html_url":"https://github.com/Tuanlvt","followers_url":"https://api.github.com/users/Tuanlvt/followers","following_url":"https://api.github.com/users/Tuanlvt/following{/other_user}","gists_url":"https://api.github.com/users/Tuanlvt/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuanlvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuanlvt/subscriptions","organizations_url":"https://api.github.com/users/Tuanlvt/orgs","repos_url":"https://api.github.com/users/Tuanlvt/repos","events_url":"https://api.github.com/users/Tuanlvt/events{/privacy}","received_events_url":"https://api.github.com/users/Tuanlvt/received_events","type":"User","site_admin":false},"body":"check access modifier","created_at":"2018-08-14T09:13:27Z","updated_at":"2018-08-14T09:15:10Z","html_url":"https://github.com/framgia/Music_23/pull/10#discussion_r209880874","pull_request_url":"https://api.github.com/repos/framgia/Music_23/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/Music_23/pulls/comments/209880874"},"html":{"href":"https://github.com/framgia/Music_23/pull/10#discussion_r209880874"},"pull_request":{"href":"https://api.github.com/repos/framgia/Music_23/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/Music_23/pulls/10","id":207529921,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NTI5OTIx","html_url":"https://github.com/framgia/Music_23/pull/10","diff_url":"https://github.com/framgia/Music_23/pull/10.diff","patch_url":"https://github.com/framgia/Music_23/pull/10.patch","issue_url":"https://api.github.com/repos/framgia/Music_23/issues/10","number":10,"state":"open","locked":false,"title":"More feature","user":{"login":"writeman916","id":34268074,"node_id":"MDQ6VXNlcjM0MjY4MDc0","avatar_url":"https://avatars0.githubusercontent.com/u/34268074?v=4","gravatar_id":"","url":"https://api.github.com/users/writeman916","html_url":"https://github.com/writeman916","followers_url":"https://api.github.com/users/writeman916/followers","following_url":"https://api.github.com/users/writeman916/following{/other_user}","gists_url":"https://api.github.com/users/writeman916/gists{/gist_id}","starred_url":"https://api.github.com/users/writeman916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/writeman916/subscriptions","organizations_url":"https://api.github.com/users/writeman916/orgs","repos_url":"https://api.github.com/users/writeman916/repos","events_url":"https://api.github.com/users/writeman916/events{/privacy}","received_events_url":"https://api.github.com/users/writeman916/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-10T07:35:00Z","updated_at":"2018-08-14T09:15:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71ff087fd43d376759c4df3401a9a76e78d246a1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/Music_23/pulls/10/commits","review_comments_url":"https://api.github.com/repos/framgia/Music_23/pulls/10/comments","review_comment_url":"https://api.github.com/repos/framgia/Music_23/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/Music_23/issues/10/comments","statuses_url":"https://api.github.com/repos/framgia/Music_23/statuses/dd98cdeb388529cf01fb7492a1313a445a3898e1","head":{"label":"writeman916:more_feature","ref":"more_feature","sha":"dd98cdeb388529cf01fb7492a1313a445a3898e1","user":{"login":"writeman916","id":34268074,"node_id":"MDQ6VXNlcjM0MjY4MDc0","avatar_url":"https://avatars0.githubusercontent.com/u/34268074?v=4","gravatar_id":"","url":"https://api.github.com/users/writeman916","html_url":"https://github.com/writeman916","followers_url":"https://api.github.com/users/writeman916/followers","following_url":"https://api.github.com/users/writeman916/following{/other_user}","gists_url":"https://api.github.com/users/writeman916/gists{/gist_id}","starred_url":"https://api.github.com/users/writeman916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/writeman916/subscriptions","organizations_url":"https://api.github.com/users/writeman916/orgs","repos_url":"https://api.github.com/users/writeman916/repos","events_url":"https://api.github.com/users/writeman916/events{/privacy}","received_events_url":"https://api.github.com/users/writeman916/received_events","type":"User","site_admin":false},"repo":{"id":142513416,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1MTM0MTY=","name":"Music_23","full_name":"writeman916/Music_23","owner":{"login":"writeman916","id":34268074,"node_id":"MDQ6VXNlcjM0MjY4MDc0","avatar_url":"https://avatars0.githubusercontent.com/u/34268074?v=4","gravatar_id":"","url":"https://api.github.com/users/writeman916","html_url":"https://github.com/writeman916","followers_url":"https://api.github.com/users/writeman916/followers","following_url":"https://api.github.com/users/writeman916/following{/other_user}","gists_url":"https://api.github.com/users/writeman916/gists{/gist_id}","starred_url":"https://api.github.com/users/writeman916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/writeman916/subscriptions","organizations_url":"https://api.github.com/users/writeman916/orgs","repos_url":"https://api.github.com/users/writeman916/repos","events_url":"https://api.github.com/users/writeman916/events{/privacy}","received_events_url":"https://api.github.com/users/writeman916/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/writeman916/Music_23","description":null,"fork":true,"url":"https://api.github.com/repos/writeman916/Music_23","forks_url":"https://api.github.com/repos/writeman916/Music_23/forks","keys_url":"https://api.github.com/repos/writeman916/Music_23/keys{/key_id}","collaborators_url":"https://api.github.com/repos/writeman916/Music_23/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/writeman916/Music_23/teams","hooks_url":"https://api.github.com/repos/writeman916/Music_23/hooks","issue_events_url":"https://api.github.com/repos/writeman916/Music_23/issues/events{/number}","events_url":"https://api.github.com/repos/writeman916/Music_23/events","assignees_url":"https://api.github.com/repos/writeman916/Music_23/assignees{/user}","branches_url":"https://api.github.com/repos/writeman916/Music_23/branches{/branch}","tags_url":"https://api.github.com/repos/writeman916/Music_23/tags","blobs_url":"https://api.github.com/repos/writeman916/Music_23/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/writeman916/Music_23/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/writeman916/Music_23/git/refs{/sha}","trees_url":"https://api.github.com/repos/writeman916/Music_23/git/trees{/sha}","statuses_url":"https://api.github.com/repos/writeman916/Music_23/statuses/{sha}","languages_url":"https://api.github.com/repos/writeman916/Music_23/languages","stargazers_url":"https://api.github.com/repos/writeman916/Music_23/stargazers","contributors_url":"https://api.github.com/repos/writeman916/Music_23/contributors","subscribers_url":"https://api.github.com/repos/writeman916/Music_23/subscribers","subscription_url":"https://api.github.com/repos/writeman916/Music_23/subscription","commits_url":"https://api.github.com/repos/writeman916/Music_23/commits{/sha}","git_commits_url":"https://api.github.com/repos/writeman916/Music_23/git/commits{/sha}","comments_url":"https://api.github.com/repos/writeman916/Music_23/comments{/number}","issue_comment_url":"https://api.github.com/repos/writeman916/Music_23/issues/comments{/number}","contents_url":"https://api.github.com/repos/writeman916/Music_23/contents/{+path}","compare_url":"https://api.github.com/repos/writeman916/Music_23/compare/{base}...{head}","merges_url":"https://api.github.com/repos/writeman916/Music_23/merges","archive_url":"https://api.github.com/repos/writeman916/Music_23/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/writeman916/Music_23/downloads","issues_url":"https://api.github.com/repos/writeman916/Music_23/issues{/number}","pulls_url":"https://api.github.com/repos/writeman916/Music_23/pulls{/number}","milestones_url":"https://api.github.com/repos/writeman916/Music_23/milestones{/number}","notifications_url":"https://api.github.com/repos/writeman916/Music_23/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/writeman916/Music_23/labels{/name}","releases_url":"https://api.github.com/repos/writeman916/Music_23/releases{/id}","deployments_url":"https://api.github.com/repos/writeman916/Music_23/deployments","created_at":"2018-07-27T01:41:45Z","updated_at":"2018-07-27T01:41:48Z","pushed_at":"2018-08-12T15:04:22Z","git_url":"git://github.com/writeman916/Music_23.git","ssh_url":"git@github.com:writeman916/Music_23.git","clone_url":"https://github.com/writeman916/Music_23.git","svn_url":"https://github.com/writeman916/Music_23","homepage":null,"size":368,"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":"framgia:develop","ref":"develop","sha":"f64d80584c2d4cde9d6a8233d01d168086929432","user":{"login":"framgia","id":2322183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":142510926,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1MTA5MjY=","name":"Music_23","full_name":"framgia/Music_23","owner":{"login":"framgia","id":2322183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/Music_23","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/Music_23","forks_url":"https://api.github.com/repos/framgia/Music_23/forks","keys_url":"https://api.github.com/repos/framgia/Music_23/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/Music_23/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/Music_23/teams","hooks_url":"https://api.github.com/repos/framgia/Music_23/hooks","issue_events_url":"https://api.github.com/repos/framgia/Music_23/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/Music_23/events","assignees_url":"https://api.github.com/repos/framgia/Music_23/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/Music_23/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/Music_23/tags","blobs_url":"https://api.github.com/repos/framgia/Music_23/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/Music_23/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/Music_23/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/Music_23/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/Music_23/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/Music_23/languages","stargazers_url":"https://api.github.com/repos/framgia/Music_23/stargazers","contributors_url":"https://api.github.com/repos/framgia/Music_23/contributors","subscribers_url":"https://api.github.com/repos/framgia/Music_23/subscribers","subscription_url":"https://api.github.com/repos/framgia/Music_23/subscription","commits_url":"https://api.github.com/repos/framgia/Music_23/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/Music_23/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/Music_23/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/Music_23/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/Music_23/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/Music_23/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/Music_23/merges","archive_url":"https://api.github.com/repos/framgia/Music_23/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/Music_23/downloads","issues_url":"https://api.github.com/repos/framgia/Music_23/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/Music_23/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/Music_23/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/Music_23/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/Music_23/labels{/name}","releases_url":"https://api.github.com/repos/framgia/Music_23/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/Music_23/deployments","created_at":"2018-07-27T01:10:05Z","updated_at":"2018-08-10T06:25:59Z","pushed_at":"2018-08-12T15:04:23Z","git_url":"git://github.com/framgia/Music_23.git","ssh_url":"git@github.com:framgia/Music_23.git","clone_url":"https://github.com/framgia/Music_23.git","svn_url":"https://github.com/framgia/Music_23","homepage":null,"size":365,"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":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/Music_23/pulls/10"},"html":{"href":"https://github.com/framgia/Music_23/pull/10"},"issue":{"href":"https://api.github.com/repos/framgia/Music_23/issues/10"},"comments":{"href":"https://api.github.com/repos/framgia/Music_23/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/Music_23/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/Music_23/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/Music_23/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/Music_23/statuses/dd98cdeb388529cf01fb7492a1313a445a3898e1"}},"author_association":"NONE"}}
{"actor":{"display_login":"Tuanlvt"}}