{"action":"created","comment":{"url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/comments/100786409","pull_request_review_id":21498739,"id":100786409,"diff_hunk":"@@ -0,0 +1,60 @@\n+package com.terebenin.vkclient.adapter;\n+\n+import android.content.Context;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.BaseAdapter;\n+import android.widget.GridView;\n+import android.widget.ImageView;\n+\n+import com.squareup.picasso.Picasso;\n+import com.terebenin.vkclient.models.newsItem.Photo;\n+\n+import java.util.List;\n+\n+/**\n+ * Created by evgeny on 08.02.17.\n+ */\n+\n+public class ImageAdapter extends BaseAdapter {\n+    private Context mContext;\n+    List<Photo> photosList;\n+\n+    public ImageAdapter(Context c, List<Photo> photosList) {\n+        mContext = c;\n+        this.photosList = photosList;\n+    }\n+\n+    @Override\n+    public int getCount() {\n+        return photosList.size();\n+    }\n+\n+    @Override\n+    public Object getItem(int position) {\n+        return null;\n+    }\n+\n+    @Override\n+    public long getItemId(int position) {\n+        return 0;","path":"app/src/main/java/com/terebenin/vkclient/adapter/ImageAdapter.java","position":40,"original_position":40,"commit_id":"49981df24e610c28f87606e949680c2797779723","original_commit_id":"49981df24e610c28f87606e949680c2797779723","user":{"login":"RamilGabdrakhmanov","id":10391824,"avatar_url":"https://avatars.githubusercontent.com/u/10391824?v=3","gravatar_id":"","url":"https://api.github.com/users/RamilGabdrakhmanov","html_url":"https://github.com/RamilGabdrakhmanov","followers_url":"https://api.github.com/users/RamilGabdrakhmanov/followers","following_url":"https://api.github.com/users/RamilGabdrakhmanov/following{/other_user}","gists_url":"https://api.github.com/users/RamilGabdrakhmanov/gists{/gist_id}","starred_url":"https://api.github.com/users/RamilGabdrakhmanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamilGabdrakhmanov/subscriptions","organizations_url":"https://api.github.com/users/RamilGabdrakhmanov/orgs","repos_url":"https://api.github.com/users/RamilGabdrakhmanov/repos","events_url":"https://api.github.com/users/RamilGabdrakhmanov/events{/privacy}","received_events_url":"https://api.github.com/users/RamilGabdrakhmanov/received_events","type":"User","site_admin":false},"body":"Тут лучше, хотя бы возращать position","created_at":"2017-02-13T12:52:00Z","updated_at":"2017-02-13T12:53:19Z","html_url":"https://github.com/EvgenyTerebenin/Vk-Client/pull/3#discussion_r100786409","pull_request_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/comments/100786409"},"html":{"href":"https://github.com/EvgenyTerebenin/Vk-Client/pull/3#discussion_r100786409"},"pull_request":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3","id":105644030,"html_url":"https://github.com/EvgenyTerebenin/Vk-Client/pull/3","diff_url":"https://github.com/EvgenyTerebenin/Vk-Client/pull/3.diff","patch_url":"https://github.com/EvgenyTerebenin/Vk-Client/pull/3.patch","issue_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/3","number":3,"state":"open","locked":false,"title":"Photos branch","user":{"login":"EvgenyTerebenin","id":17678440,"avatar_url":"https://avatars.githubusercontent.com/u/17678440?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyTerebenin","html_url":"https://github.com/EvgenyTerebenin","followers_url":"https://api.github.com/users/EvgenyTerebenin/followers","following_url":"https://api.github.com/users/EvgenyTerebenin/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyTerebenin/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyTerebenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyTerebenin/subscriptions","organizations_url":"https://api.github.com/users/EvgenyTerebenin/orgs","repos_url":"https://api.github.com/users/EvgenyTerebenin/repos","events_url":"https://api.github.com/users/EvgenyTerebenin/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyTerebenin/received_events","type":"User","site_admin":false},"body":"Sort newsfeed and show posts with photos only.","created_at":"2017-02-10T15:02:57Z","updated_at":"2017-02-13T12:53:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6aeedc7b691767b59c4fc4c32acfca5751c8bd5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3/commits","review_comments_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3/comments","review_comment_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/3/comments","statuses_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/statuses/49981df24e610c28f87606e949680c2797779723","head":{"label":"EvgenyTerebenin:PhotosBranch","ref":"PhotosBranch","sha":"49981df24e610c28f87606e949680c2797779723","user":{"login":"EvgenyTerebenin","id":17678440,"avatar_url":"https://avatars.githubusercontent.com/u/17678440?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyTerebenin","html_url":"https://github.com/EvgenyTerebenin","followers_url":"https://api.github.com/users/EvgenyTerebenin/followers","following_url":"https://api.github.com/users/EvgenyTerebenin/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyTerebenin/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyTerebenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyTerebenin/subscriptions","organizations_url":"https://api.github.com/users/EvgenyTerebenin/orgs","repos_url":"https://api.github.com/users/EvgenyTerebenin/repos","events_url":"https://api.github.com/users/EvgenyTerebenin/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyTerebenin/received_events","type":"User","site_admin":false},"repo":{"id":79903361,"name":"Vk-Client","full_name":"EvgenyTerebenin/Vk-Client","owner":{"login":"EvgenyTerebenin","id":17678440,"avatar_url":"https://avatars.githubusercontent.com/u/17678440?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyTerebenin","html_url":"https://github.com/EvgenyTerebenin","followers_url":"https://api.github.com/users/EvgenyTerebenin/followers","following_url":"https://api.github.com/users/EvgenyTerebenin/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyTerebenin/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyTerebenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyTerebenin/subscriptions","organizations_url":"https://api.github.com/users/EvgenyTerebenin/orgs","repos_url":"https://api.github.com/users/EvgenyTerebenin/repos","events_url":"https://api.github.com/users/EvgenyTerebenin/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyTerebenin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EvgenyTerebenin/Vk-Client","description":"Login screen, newsfeed screen(text, avatar, owner, photo)","fork":false,"url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client","forks_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/forks","keys_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/teams","hooks_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/hooks","issue_events_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/events{/number}","events_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/events","assignees_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/assignees{/user}","branches_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/branches{/branch}","tags_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/tags","blobs_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/languages","stargazers_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/stargazers","contributors_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/contributors","subscribers_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/subscribers","subscription_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/subscription","commits_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/contents/{+path}","compare_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/merges","archive_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/downloads","issues_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues{/number}","pulls_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/labels{/name}","releases_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/releases{/id}","deployments_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/deployments","created_at":"2017-01-24T10:57:39Z","updated_at":"2017-02-10T15:06:53Z","pushed_at":"2017-02-10T15:02:58Z","git_url":"git://github.com/EvgenyTerebenin/Vk-Client.git","ssh_url":"git@github.com:EvgenyTerebenin/Vk-Client.git","clone_url":"https://github.com/EvgenyTerebenin/Vk-Client.git","svn_url":"https://github.com/EvgenyTerebenin/Vk-Client","homepage":"","size":424,"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":"EvgenyTerebenin:master","ref":"master","sha":"64b18f56fcfa2594b106c6d3b1af897b00b9b5f4","user":{"login":"EvgenyTerebenin","id":17678440,"avatar_url":"https://avatars.githubusercontent.com/u/17678440?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyTerebenin","html_url":"https://github.com/EvgenyTerebenin","followers_url":"https://api.github.com/users/EvgenyTerebenin/followers","following_url":"https://api.github.com/users/EvgenyTerebenin/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyTerebenin/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyTerebenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyTerebenin/subscriptions","organizations_url":"https://api.github.com/users/EvgenyTerebenin/orgs","repos_url":"https://api.github.com/users/EvgenyTerebenin/repos","events_url":"https://api.github.com/users/EvgenyTerebenin/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyTerebenin/received_events","type":"User","site_admin":false},"repo":{"id":79903361,"name":"Vk-Client","full_name":"EvgenyTerebenin/Vk-Client","owner":{"login":"EvgenyTerebenin","id":17678440,"avatar_url":"https://avatars.githubusercontent.com/u/17678440?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyTerebenin","html_url":"https://github.com/EvgenyTerebenin","followers_url":"https://api.github.com/users/EvgenyTerebenin/followers","following_url":"https://api.github.com/users/EvgenyTerebenin/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyTerebenin/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyTerebenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyTerebenin/subscriptions","organizations_url":"https://api.github.com/users/EvgenyTerebenin/orgs","repos_url":"https://api.github.com/users/EvgenyTerebenin/repos","events_url":"https://api.github.com/users/EvgenyTerebenin/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyTerebenin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EvgenyTerebenin/Vk-Client","description":"Login screen, newsfeed screen(text, avatar, owner, photo)","fork":false,"url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client","forks_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/forks","keys_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/teams","hooks_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/hooks","issue_events_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/events{/number}","events_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/events","assignees_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/assignees{/user}","branches_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/branches{/branch}","tags_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/tags","blobs_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/languages","stargazers_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/stargazers","contributors_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/contributors","subscribers_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/subscribers","subscription_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/subscription","commits_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/contents/{+path}","compare_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/merges","archive_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/downloads","issues_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues{/number}","pulls_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/labels{/name}","releases_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/releases{/id}","deployments_url":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/deployments","created_at":"2017-01-24T10:57:39Z","updated_at":"2017-02-10T15:06:53Z","pushed_at":"2017-02-10T15:02:58Z","git_url":"git://github.com/EvgenyTerebenin/Vk-Client.git","ssh_url":"git@github.com:EvgenyTerebenin/Vk-Client.git","clone_url":"https://github.com/EvgenyTerebenin/Vk-Client.git","svn_url":"https://github.com/EvgenyTerebenin/Vk-Client","homepage":"","size":424,"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/EvgenyTerebenin/Vk-Client/pulls/3"},"html":{"href":"https://github.com/EvgenyTerebenin/Vk-Client/pull/3"},"issue":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/3"},"comments":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/EvgenyTerebenin/Vk-Client/statuses/49981df24e610c28f87606e949680c2797779723"}}}}
{"actor":{"display_login":"RamilGabdrakhmanov"}}