{"action":"created","comment":{"url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/comments/133561411","pull_request_review_id":56746734,"id":133561411,"diff_hunk":"@@ -0,0 +1,94 @@\n+package dvinc.yamblzhomeproject.ui.editCities;\n+\n+import android.os.Bundle;\n+import android.support.annotation.Nullable;\n+import android.support.v7.widget.DividerItemDecoration;\n+import android.support.v7.widget.LinearLayoutManager;\n+import android.support.v7.widget.RecyclerView;\n+import android.view.LayoutInflater;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.Toast;\n+\n+import com.arellomobile.mvp.MvpAppCompatFragment;\n+import com.arellomobile.mvp.presenter.InjectPresenter;\n+import com.arellomobile.mvp.presenter.ProvidePresenter;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+import butterknife.BindView;\n+import butterknife.ButterKnife;\n+import butterknife.Unbinder;\n+import dvinc.yamblzhomeproject.App;\n+import dvinc.yamblzhomeproject.R;\n+import dvinc.yamblzhomeproject.db.entities.CityEntity;\n+\n+public class EditCitiesFragment extends MvpAppCompatFragment implements EditCitiesView {\n+\n+    @BindView(R.id.rv_edit_cities)\n+    RecyclerView rvEditCities;\n+\n+    EditCitiesAdapter editCitiesAdapter;\n+\n+    @InjectPresenter\n+    public EditCitiesPresenter presenter;\n+\n+    private Unbinder unbinder;\n+\n+    public static EditCitiesFragment newInstance() {\n+        return new EditCitiesFragment();\n+    }\n+\n+    @ProvidePresenter\n+    EditCitiesPresenter provideEditCitiesPresenter() {\n+        return App.getComponent().getEditCitiesPresenter();\n+    }\n+\n+    @Nullable\n+    @Override\n+    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {\n+        View view = inflater.inflate(R.layout.fragment_edit_cities,\n+                container, false);\n+        unbinder = ButterKnife.bind(this, view);\n+        return view;\n+    }\n+\n+    @Override\n+    public void onActivityCreated(@Nullable Bundle savedInstanceState) {\n+        super.onActivityCreated(savedInstanceState);\n+        getActivity().setTitle(R.string.edit_cities_head);\n+        initRecyclerView();\n+    }\n+\n+    @Override\n+    public void onDestroyView() {\n+        super.onDestroyView();\n+        unbinder.unbind();","path":"app/src/main/java/dvinc/yamblzhomeproject/ui/editCities/EditCitiesFragment.java","position":67,"original_position":67,"commit_id":"03a292bd194bfc817dc95af2c81544be18d8e8de","original_commit_id":"03a292bd194bfc817dc95af2c81544be18d8e8de","user":{"login":"Tayrinn","id":3739088,"avatar_url":"https://avatars1.githubusercontent.com/u/3739088?v=4","gravatar_id":"","url":"https://api.github.com/users/Tayrinn","html_url":"https://github.com/Tayrinn","followers_url":"https://api.github.com/users/Tayrinn/followers","following_url":"https://api.github.com/users/Tayrinn/following{/other_user}","gists_url":"https://api.github.com/users/Tayrinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Tayrinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tayrinn/subscriptions","organizations_url":"https://api.github.com/users/Tayrinn/orgs","repos_url":"https://api.github.com/users/Tayrinn/repos","events_url":"https://api.github.com/users/Tayrinn/events{/privacy}","received_events_url":"https://api.github.com/users/Tayrinn/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2017-08-16T20:43:06Z","updated_at":"2017-08-16T20:56:34Z","html_url":"https://github.com/chichkanov/YamblzHomeProject/pull/1#discussion_r133561411","pull_request_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/comments/133561411"},"html":{"href":"https://github.com/chichkanov/YamblzHomeProject/pull/1#discussion_r133561411"},"pull_request":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1","id":135507882,"html_url":"https://github.com/chichkanov/YamblzHomeProject/pull/1","diff_url":"https://github.com/chichkanov/YamblzHomeProject/pull/1.diff","patch_url":"https://github.com/chichkanov/YamblzHomeProject/pull/1.patch","issue_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/1","number":1,"state":"open","locked":false,"title":"Task4","user":{"login":"chichkanov","id":22872688,"avatar_url":"https://avatars0.githubusercontent.com/u/22872688?v=4","gravatar_id":"","url":"https://api.github.com/users/chichkanov","html_url":"https://github.com/chichkanov","followers_url":"https://api.github.com/users/chichkanov/followers","following_url":"https://api.github.com/users/chichkanov/following{/other_user}","gists_url":"https://api.github.com/users/chichkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/chichkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chichkanov/subscriptions","organizations_url":"https://api.github.com/users/chichkanov/orgs","repos_url":"https://api.github.com/users/chichkanov/repos","events_url":"https://api.github.com/users/chichkanov/events{/privacy}","received_events_url":"https://api.github.com/users/chichkanov/received_events","type":"User","site_admin":false},"body":"Weather forecast\r\n- Forecast for each 3 hours\r\n- Forecast for 8 days\r\n\r\nRoom database\r\n- Save city to favorites\r\n- Ability to change the city from the navigation drawer\r\n- Ability to delete the cities from the Edit Cities Fragment\r\n\r\nSupport for tablets\r\n- Two-pane layout\r\n- Optimized UI/UX\r\n\r\nCity suggestions\r\n- Google places api\r\n- Yandex logo\r\n\r\nSettings\r\n- Choose from different units of measure\r\n- Change auto-update interval\r\n\r\nTests\r\n- Repository tests\r\n- Presenter tests\r\n- Utils tests\r\n- Converters tests\r\n","created_at":"2017-08-13T20:59:50Z","updated_at":"2017-08-16T20:56:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23e74d8d5932d393e679bd56e89c9b82b723a14c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1/commits","review_comments_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1/comments","review_comment_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/1/comments","statuses_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/statuses/03a292bd194bfc817dc95af2c81544be18d8e8de","head":{"label":"chichkanov:Task4","ref":"Task4","sha":"03a292bd194bfc817dc95af2c81544be18d8e8de","user":{"login":"chichkanov","id":22872688,"avatar_url":"https://avatars0.githubusercontent.com/u/22872688?v=4","gravatar_id":"","url":"https://api.github.com/users/chichkanov","html_url":"https://github.com/chichkanov","followers_url":"https://api.github.com/users/chichkanov/followers","following_url":"https://api.github.com/users/chichkanov/following{/other_user}","gists_url":"https://api.github.com/users/chichkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/chichkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chichkanov/subscriptions","organizations_url":"https://api.github.com/users/chichkanov/orgs","repos_url":"https://api.github.com/users/chichkanov/repos","events_url":"https://api.github.com/users/chichkanov/events{/privacy}","received_events_url":"https://api.github.com/users/chichkanov/received_events","type":"User","site_admin":false},"repo":{"id":98119657,"name":"YamblzHomeProject","full_name":"chichkanov/YamblzHomeProject","owner":{"login":"chichkanov","id":22872688,"avatar_url":"https://avatars0.githubusercontent.com/u/22872688?v=4","gravatar_id":"","url":"https://api.github.com/users/chichkanov","html_url":"https://github.com/chichkanov","followers_url":"https://api.github.com/users/chichkanov/followers","following_url":"https://api.github.com/users/chichkanov/following{/other_user}","gists_url":"https://api.github.com/users/chichkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/chichkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chichkanov/subscriptions","organizations_url":"https://api.github.com/users/chichkanov/orgs","repos_url":"https://api.github.com/users/chichkanov/repos","events_url":"https://api.github.com/users/chichkanov/events{/privacy}","received_events_url":"https://api.github.com/users/chichkanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chichkanov/YamblzHomeProject","description":"Домашний проект \"Погода\".","fork":true,"url":"https://api.github.com/repos/chichkanov/YamblzHomeProject","forks_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/forks","keys_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/teams","hooks_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/hooks","issue_events_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/events{/number}","events_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/events","assignees_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/assignees{/user}","branches_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/branches{/branch}","tags_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/tags","blobs_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/statuses/{sha}","languages_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/languages","stargazers_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/stargazers","contributors_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/contributors","subscribers_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/subscribers","subscription_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/subscription","commits_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/contents/{+path}","compare_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/merges","archive_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/downloads","issues_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues{/number}","pulls_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls{/number}","milestones_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/milestones{/number}","notifications_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/labels{/name}","releases_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/releases{/id}","deployments_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/deployments","created_at":"2017-07-23T19:13:23Z","updated_at":"2017-07-23T19:13:25Z","pushed_at":"2017-08-13T21:39:49Z","git_url":"git://github.com/chichkanov/YamblzHomeProject.git","ssh_url":"git@github.com:chichkanov/YamblzHomeProject.git","clone_url":"https://github.com/chichkanov/YamblzHomeProject.git","svn_url":"https://github.com/chichkanov/YamblzHomeProject","homepage":null,"size":802,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":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":"chichkanov:master","ref":"master","sha":"07a73ae74ad2f8aa17241c5a79feb902d469c9b8","user":{"login":"chichkanov","id":22872688,"avatar_url":"https://avatars0.githubusercontent.com/u/22872688?v=4","gravatar_id":"","url":"https://api.github.com/users/chichkanov","html_url":"https://github.com/chichkanov","followers_url":"https://api.github.com/users/chichkanov/followers","following_url":"https://api.github.com/users/chichkanov/following{/other_user}","gists_url":"https://api.github.com/users/chichkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/chichkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chichkanov/subscriptions","organizations_url":"https://api.github.com/users/chichkanov/orgs","repos_url":"https://api.github.com/users/chichkanov/repos","events_url":"https://api.github.com/users/chichkanov/events{/privacy}","received_events_url":"https://api.github.com/users/chichkanov/received_events","type":"User","site_admin":false},"repo":{"id":98119657,"name":"YamblzHomeProject","full_name":"chichkanov/YamblzHomeProject","owner":{"login":"chichkanov","id":22872688,"avatar_url":"https://avatars0.githubusercontent.com/u/22872688?v=4","gravatar_id":"","url":"https://api.github.com/users/chichkanov","html_url":"https://github.com/chichkanov","followers_url":"https://api.github.com/users/chichkanov/followers","following_url":"https://api.github.com/users/chichkanov/following{/other_user}","gists_url":"https://api.github.com/users/chichkanov/gists{/gist_id}","starred_url":"https://api.github.com/users/chichkanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chichkanov/subscriptions","organizations_url":"https://api.github.com/users/chichkanov/orgs","repos_url":"https://api.github.com/users/chichkanov/repos","events_url":"https://api.github.com/users/chichkanov/events{/privacy}","received_events_url":"https://api.github.com/users/chichkanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chichkanov/YamblzHomeProject","description":"Домашний проект \"Погода\".","fork":true,"url":"https://api.github.com/repos/chichkanov/YamblzHomeProject","forks_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/forks","keys_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/teams","hooks_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/hooks","issue_events_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/events{/number}","events_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/events","assignees_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/assignees{/user}","branches_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/branches{/branch}","tags_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/tags","blobs_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/statuses/{sha}","languages_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/languages","stargazers_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/stargazers","contributors_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/contributors","subscribers_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/subscribers","subscription_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/subscription","commits_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/contents/{+path}","compare_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/merges","archive_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/downloads","issues_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues{/number}","pulls_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls{/number}","milestones_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/milestones{/number}","notifications_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/labels{/name}","releases_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/releases{/id}","deployments_url":"https://api.github.com/repos/chichkanov/YamblzHomeProject/deployments","created_at":"2017-07-23T19:13:23Z","updated_at":"2017-07-23T19:13:25Z","pushed_at":"2017-08-13T21:39:49Z","git_url":"git://github.com/chichkanov/YamblzHomeProject.git","ssh_url":"git@github.com:chichkanov/YamblzHomeProject.git","clone_url":"https://github.com/chichkanov/YamblzHomeProject.git","svn_url":"https://github.com/chichkanov/YamblzHomeProject","homepage":null,"size":802,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":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/chichkanov/YamblzHomeProject/pulls/1"},"html":{"href":"https://github.com/chichkanov/YamblzHomeProject/pull/1"},"issue":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/1"},"comments":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/chichkanov/YamblzHomeProject/statuses/03a292bd194bfc817dc95af2c81544be18d8e8de"}}}}
{"actor":{"display_login":"Tayrinn"}}