{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/iWeather_01/pulls/comments/91481106","pull_request_review_id":11986112,"id":91481106,"diff_hunk":"@@ -0,0 +1,42 @@\n+package com.example.framgia.iweather.ui.activity;\n+\n+import android.app.Activity;\n+import android.graphics.Color;\n+import android.os.Bundle;\n+import android.support.v7.app.ActionBar;\n+import android.support.v7.app.AppCompatActivity;\n+import android.support.v7.widget.Toolbar;\n+\n+import com.example.framgia.iweather.R;\n+import com.example.framgia.iweather.ui.fragment.PreferencesSetting;\n+\n+import butterknife.BindView;\n+import butterknife.ButterKnife;\n+\n+/**\n+ * Created by chaupham on 12/5/2016.\n+ */\n+public class SettingActivity extends AppCompatActivity {\n+    @BindView(R.id.toolbar_activity_setting)\n+    Toolbar mToolbarSetting;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_setting);\n+        ButterKnife.bind(this);\n+        initViews();\n+    }\n+\n+    private void initViews() {\n+        mToolbarSetting.setTitle(\"\");\n+        mToolbarSetting.setTitleTextColor(Color.WHITE);\n+        setSupportActionBar(mToolbarSetting);\n+        getFragmentManager().beginTransaction().replace(R.id.frame_preferences, new\n+            PreferencesSetting()).commit();\n+        ActionBar actionBar = getSupportActionBar();\n+        if (actionBar == null) return;\n+        actionBar.setDisplayHomeAsUpEnabled(true);\n+        setResult(Activity.RESULT_OK);","path":"app/src/main/java/com/example/framgia/iweather/ui/activity/SettingActivity.java","position":40,"original_position":40,"commit_id":"5430fa65bcba0ddf0829b556cf158c61a51b3948","original_commit_id":"5430fa65bcba0ddf0829b556cf158c61a51b3948","user":{"login":"DoanVanToan","id":21195010,"avatar_url":"https://avatars.githubusercontent.com/u/21195010?v=3","gravatar_id":"","url":"https://api.github.com/users/DoanVanToan","html_url":"https://github.com/DoanVanToan","followers_url":"https://api.github.com/users/DoanVanToan/followers","following_url":"https://api.github.com/users/DoanVanToan/following{/other_user}","gists_url":"https://api.github.com/users/DoanVanToan/gists{/gist_id}","starred_url":"https://api.github.com/users/DoanVanToan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoanVanToan/subscriptions","organizations_url":"https://api.github.com/users/DoanVanToan/orgs","repos_url":"https://api.github.com/users/DoanVanToan/repos","events_url":"https://api.github.com/users/DoanVanToan/events{/privacy}","received_events_url":"https://api.github.com/users/DoanVanToan/received_events","type":"User","site_admin":false},"body":"KO thê lúc nào cũng setResult ok đc, phải add sự kiện onSharedPreferenceChanged để setResult","created_at":"2016-12-08T09:59:23Z","updated_at":"2016-12-08T09:59:32Z","html_url":"https://github.com/framgia/iWeather_01/pull/11#discussion_r91481106","pull_request_url":"https://api.github.com/repos/framgia/iWeather_01/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/framgia/iWeather_01/pulls/comments/91481106"},"html":{"href":"https://github.com/framgia/iWeather_01/pull/11#discussion_r91481106"},"pull_request":{"href":"https://api.github.com/repos/framgia/iWeather_01/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/iWeather_01/pulls/11","id":96244626,"html_url":"https://github.com/framgia/iWeather_01/pull/11","diff_url":"https://github.com/framgia/iWeather_01/pull/11.diff","patch_url":"https://github.com/framgia/iWeather_01/pull/11.patch","issue_url":"https://api.github.com/repos/framgia/iWeather_01/issues/11","number":11,"state":"open","locked":false,"title":"getlocation, setting","user":{"login":"PhamThiMinhChau","id":23467535,"avatar_url":"https://avatars.githubusercontent.com/u/23467535?v=3","gravatar_id":"","url":"https://api.github.com/users/PhamThiMinhChau","html_url":"https://github.com/PhamThiMinhChau","followers_url":"https://api.github.com/users/PhamThiMinhChau/followers","following_url":"https://api.github.com/users/PhamThiMinhChau/following{/other_user}","gists_url":"https://api.github.com/users/PhamThiMinhChau/gists{/gist_id}","starred_url":"https://api.github.com/users/PhamThiMinhChau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhamThiMinhChau/subscriptions","organizations_url":"https://api.github.com/users/PhamThiMinhChau/orgs","repos_url":"https://api.github.com/users/PhamThiMinhChau/repos","events_url":"https://api.github.com/users/PhamThiMinhChau/events{/privacy}","received_events_url":"https://api.github.com/users/PhamThiMinhChau/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-02T09:13:26Z","updated_at":"2016-12-08T09:59:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ead71af37e358f695b71df6ff97d2a15082c1020","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/iWeather_01/pulls/11/commits","review_comments_url":"https://api.github.com/repos/framgia/iWeather_01/pulls/11/comments","review_comment_url":"https://api.github.com/repos/framgia/iWeather_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/iWeather_01/issues/11/comments","statuses_url":"https://api.github.com/repos/framgia/iWeather_01/statuses/5430fa65bcba0ddf0829b556cf158c61a51b3948","head":{"label":"PhamThiMinhChau:get_location,setting","ref":"get_location,setting","sha":"5430fa65bcba0ddf0829b556cf158c61a51b3948","user":{"login":"PhamThiMinhChau","id":23467535,"avatar_url":"https://avatars.githubusercontent.com/u/23467535?v=3","gravatar_id":"","url":"https://api.github.com/users/PhamThiMinhChau","html_url":"https://github.com/PhamThiMinhChau","followers_url":"https://api.github.com/users/PhamThiMinhChau/followers","following_url":"https://api.github.com/users/PhamThiMinhChau/following{/other_user}","gists_url":"https://api.github.com/users/PhamThiMinhChau/gists{/gist_id}","starred_url":"https://api.github.com/users/PhamThiMinhChau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhamThiMinhChau/subscriptions","organizations_url":"https://api.github.com/users/PhamThiMinhChau/orgs","repos_url":"https://api.github.com/users/PhamThiMinhChau/repos","events_url":"https://api.github.com/users/PhamThiMinhChau/events{/privacy}","received_events_url":"https://api.github.com/users/PhamThiMinhChau/received_events","type":"User","site_admin":false},"repo":{"id":74632311,"name":"iWeather","full_name":"PhamThiMinhChau/iWeather","owner":{"login":"PhamThiMinhChau","id":23467535,"avatar_url":"https://avatars.githubusercontent.com/u/23467535?v=3","gravatar_id":"","url":"https://api.github.com/users/PhamThiMinhChau","html_url":"https://github.com/PhamThiMinhChau","followers_url":"https://api.github.com/users/PhamThiMinhChau/followers","following_url":"https://api.github.com/users/PhamThiMinhChau/following{/other_user}","gists_url":"https://api.github.com/users/PhamThiMinhChau/gists{/gist_id}","starred_url":"https://api.github.com/users/PhamThiMinhChau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhamThiMinhChau/subscriptions","organizations_url":"https://api.github.com/users/PhamThiMinhChau/orgs","repos_url":"https://api.github.com/users/PhamThiMinhChau/repos","events_url":"https://api.github.com/users/PhamThiMinhChau/events{/privacy}","received_events_url":"https://api.github.com/users/PhamThiMinhChau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PhamThiMinhChau/iWeather","description":null,"fork":true,"url":"https://api.github.com/repos/PhamThiMinhChau/iWeather","forks_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/forks","keys_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/teams","hooks_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/hooks","issue_events_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/issues/events{/number}","events_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/events","assignees_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/assignees{/user}","branches_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/branches{/branch}","tags_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/tags","blobs_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/git/refs{/sha}","trees_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/statuses/{sha}","languages_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/languages","stargazers_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/stargazers","contributors_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/contributors","subscribers_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/subscribers","subscription_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/subscription","commits_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/commits{/sha}","git_commits_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/git/commits{/sha}","comments_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/comments{/number}","issue_comment_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/issues/comments{/number}","contents_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/contents/{+path}","compare_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/merges","archive_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/downloads","issues_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/issues{/number}","pulls_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/pulls{/number}","milestones_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/milestones{/number}","notifications_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/labels{/name}","releases_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/releases{/id}","deployments_url":"https://api.github.com/repos/PhamThiMinhChau/iWeather/deployments","created_at":"2016-11-24T02:50:02Z","updated_at":"2016-11-23T08:54:54Z","pushed_at":"2016-12-08T09:53:16Z","git_url":"git://github.com/PhamThiMinhChau/iWeather.git","ssh_url":"git@github.com:PhamThiMinhChau/iWeather.git","clone_url":"https://github.com/PhamThiMinhChau/iWeather.git","svn_url":"https://github.com/PhamThiMinhChau/iWeather","homepage":null,"size":397,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"34bc0536857f69a2f79cd3785dac7bce61ee11d8","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","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":74558462,"name":"iWeather_01","full_name":"framgia/iWeather_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","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/iWeather_01","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/iWeather_01","forks_url":"https://api.github.com/repos/framgia/iWeather_01/forks","keys_url":"https://api.github.com/repos/framgia/iWeather_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/iWeather_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/iWeather_01/teams","hooks_url":"https://api.github.com/repos/framgia/iWeather_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/iWeather_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/iWeather_01/events","assignees_url":"https://api.github.com/repos/framgia/iWeather_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/iWeather_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/iWeather_01/tags","blobs_url":"https://api.github.com/repos/framgia/iWeather_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/iWeather_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/iWeather_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/iWeather_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/iWeather_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/iWeather_01/languages","stargazers_url":"https://api.github.com/repos/framgia/iWeather_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/iWeather_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/iWeather_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/iWeather_01/subscription","commits_url":"https://api.github.com/repos/framgia/iWeather_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/iWeather_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/iWeather_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/iWeather_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/iWeather_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/iWeather_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/iWeather_01/merges","archive_url":"https://api.github.com/repos/framgia/iWeather_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/iWeather_01/downloads","issues_url":"https://api.github.com/repos/framgia/iWeather_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/iWeather_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/iWeather_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/iWeather_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/iWeather_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/iWeather_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/iWeather_01/deployments","created_at":"2016-11-23T08:54:54Z","updated_at":"2016-11-24T07:33:07Z","pushed_at":"2016-12-08T09:53:17Z","git_url":"git://github.com/framgia/iWeather_01.git","ssh_url":"git@github.com:framgia/iWeather_01.git","clone_url":"https://github.com/framgia/iWeather_01.git","svn_url":"https://github.com/framgia/iWeather_01","homepage":null,"size":396,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/iWeather_01/pulls/11"},"html":{"href":"https://github.com/framgia/iWeather_01/pull/11"},"issue":{"href":"https://api.github.com/repos/framgia/iWeather_01/issues/11"},"comments":{"href":"https://api.github.com/repos/framgia/iWeather_01/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/iWeather_01/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/iWeather_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/iWeather_01/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/iWeather_01/statuses/5430fa65bcba0ddf0829b556cf158c61a51b3948"}}}}
{"actor":{"display_login":"DoanVanToan"}}