{"action":"created","comment":{"url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/comments/78947309","id":78947309,"diff_hunk":"@@ -0,0 +1,44 @@\n+package com.streamdata.leon.cryptochat;\r\n+\r\n+import android.support.v7.app.AppCompatActivity;\r\n+import android.os.Bundle;\r\n+import android.widget.ListView;\r\n+import java.util.ArrayList;\r\n+import com.google.android.gms.appindexing.AppIndex;\r\n+import com.google.android.gms.common.api.GoogleApiClient;\r\n+import com.streamdata.leon.cryptochat.models.Contact;\r\n+import com.streamdata.leon.cryptochat.models.Message;\r\n+import com.streamdata.leon.cryptochat.utils.DateUtils;\r\n+\r\n+\r\n+public class MessageListActivity extends AppCompatActivity {\r\n+\r\n+    ArrayList<Message> messageList = new ArrayList<Message>();\r\n+\r\n+    private GoogleApiClient client;\r\n+\r\n+    @Override\r\n+    protected void onCreate(Bundle savedInstanceState) {\r\n+        super.onCreate(savedInstanceState);\r\n+        setContentView(R.layout.activity_message_list);\r\n+\r\n+        client = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();\r\n+        DateUtils dateUtils = new DateUtils();\r\n+\r\n+        messageList.add(0, new Message(new Contact(\"alex45\", \"Alex\", null),\r\n+                new Contact(\"john_s\", \"John\", null),\r\n+                \"Hi!, How are you?\",\r\n+                dateUtils.stringToDate(\"2 15 2015\"),\r\n+                Boolean.TRUE));\r\n+        messageList.add(1, new Message(new Contact(\"john_s\", \"John\", null),\r","path":"app/src/main/java/com/streamdata/leon/cryptochat/MessageListActivity.java","position":33,"original_position":33,"commit_id":"7b786b9e124cd21b898e04f64343f85d3d2a31bc","original_commit_id":"7b786b9e124cd21b898e04f64343f85d3d2a31bc","user":{"login":"cypt","id":6083140,"avatar_url":"https://avatars.githubusercontent.com/u/6083140?v=3","gravatar_id":"","url":"https://api.github.com/users/cypt","html_url":"https://github.com/cypt","followers_url":"https://api.github.com/users/cypt/followers","following_url":"https://api.github.com/users/cypt/following{/other_user}","gists_url":"https://api.github.com/users/cypt/gists{/gist_id}","starred_url":"https://api.github.com/users/cypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cypt/subscriptions","organizations_url":"https://api.github.com/users/cypt/orgs","repos_url":"https://api.github.com/users/cypt/repos","events_url":"https://api.github.com/users/cypt/events{/privacy}","received_events_url":"https://api.github.com/users/cypt/received_events","type":"User","site_admin":false},"body":"Добавь побольше сообщений - чтобы можно было проверить что они правильно скролятся.","created_at":"2016-09-15T12:02:48Z","updated_at":"2016-09-15T12:02:48Z","html_url":"https://github.com/LeonArcher/cryptochat/pull/4#discussion_r78947309","pull_request_url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/comments/78947309"},"html":{"href":"https://github.com/LeonArcher/cryptochat/pull/4#discussion_r78947309"},"pull_request":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4","id":85085963,"html_url":"https://github.com/LeonArcher/cryptochat/pull/4","diff_url":"https://github.com/LeonArcher/cryptochat/pull/4.diff","patch_url":"https://github.com/LeonArcher/cryptochat/pull/4.patch","issue_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues/4","number":4,"state":"open","locked":false,"title":"Made the first sketch of activity list massages","user":{"login":"K-Mike","id":22145213,"avatar_url":"https://avatars.githubusercontent.com/u/22145213?v=3","gravatar_id":"","url":"https://api.github.com/users/K-Mike","html_url":"https://github.com/K-Mike","followers_url":"https://api.github.com/users/K-Mike/followers","following_url":"https://api.github.com/users/K-Mike/following{/other_user}","gists_url":"https://api.github.com/users/K-Mike/gists{/gist_id}","starred_url":"https://api.github.com/users/K-Mike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/K-Mike/subscriptions","organizations_url":"https://api.github.com/users/K-Mike/orgs","repos_url":"https://api.github.com/users/K-Mike/repos","events_url":"https://api.github.com/users/K-Mike/events{/privacy}","received_events_url":"https://api.github.com/users/K-Mike/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-13T16:55:47Z","updated_at":"2016-09-15T12:06:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"cypt","id":6083140,"avatar_url":"https://avatars.githubusercontent.com/u/6083140?v=3","gravatar_id":"","url":"https://api.github.com/users/cypt","html_url":"https://github.com/cypt","followers_url":"https://api.github.com/users/cypt/followers","following_url":"https://api.github.com/users/cypt/following{/other_user}","gists_url":"https://api.github.com/users/cypt/gists{/gist_id}","starred_url":"https://api.github.com/users/cypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cypt/subscriptions","organizations_url":"https://api.github.com/users/cypt/orgs","repos_url":"https://api.github.com/users/cypt/repos","events_url":"https://api.github.com/users/cypt/events{/privacy}","received_events_url":"https://api.github.com/users/cypt/received_events","type":"User","site_admin":false},"assignees":[{"login":"cypt","id":6083140,"avatar_url":"https://avatars.githubusercontent.com/u/6083140?v=3","gravatar_id":"","url":"https://api.github.com/users/cypt","html_url":"https://github.com/cypt","followers_url":"https://api.github.com/users/cypt/followers","following_url":"https://api.github.com/users/cypt/following{/other_user}","gists_url":"https://api.github.com/users/cypt/gists{/gist_id}","starred_url":"https://api.github.com/users/cypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cypt/subscriptions","organizations_url":"https://api.github.com/users/cypt/orgs","repos_url":"https://api.github.com/users/cypt/repos","events_url":"https://api.github.com/users/cypt/events{/privacy}","received_events_url":"https://api.github.com/users/cypt/received_events","type":"User","site_admin":false},{"login":"LeonArcher","id":11403861,"avatar_url":"https://avatars.githubusercontent.com/u/11403861?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonArcher","html_url":"https://github.com/LeonArcher","followers_url":"https://api.github.com/users/LeonArcher/followers","following_url":"https://api.github.com/users/LeonArcher/following{/other_user}","gists_url":"https://api.github.com/users/LeonArcher/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonArcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonArcher/subscriptions","organizations_url":"https://api.github.com/users/LeonArcher/orgs","repos_url":"https://api.github.com/users/LeonArcher/repos","events_url":"https://api.github.com/users/LeonArcher/events{/privacy}","received_events_url":"https://api.github.com/users/LeonArcher/received_events","type":"User","site_admin":false},{"login":"K-Mike","id":22145213,"avatar_url":"https://avatars.githubusercontent.com/u/22145213?v=3","gravatar_id":"","url":"https://api.github.com/users/K-Mike","html_url":"https://github.com/K-Mike","followers_url":"https://api.github.com/users/K-Mike/followers","following_url":"https://api.github.com/users/K-Mike/following{/other_user}","gists_url":"https://api.github.com/users/K-Mike/gists{/gist_id}","starred_url":"https://api.github.com/users/K-Mike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/K-Mike/subscriptions","organizations_url":"https://api.github.com/users/K-Mike/orgs","repos_url":"https://api.github.com/users/K-Mike/repos","events_url":"https://api.github.com/users/K-Mike/events{/privacy}","received_events_url":"https://api.github.com/users/K-Mike/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4/commits","review_comments_url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4/comments","review_comment_url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues/4/comments","statuses_url":"https://api.github.com/repos/LeonArcher/cryptochat/statuses/7b786b9e124cd21b898e04f64343f85d3d2a31bc","head":{"label":"LeonArcher:working_branch/message_list/1","ref":"working_branch/message_list/1","sha":"7b786b9e124cd21b898e04f64343f85d3d2a31bc","user":{"login":"LeonArcher","id":11403861,"avatar_url":"https://avatars.githubusercontent.com/u/11403861?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonArcher","html_url":"https://github.com/LeonArcher","followers_url":"https://api.github.com/users/LeonArcher/followers","following_url":"https://api.github.com/users/LeonArcher/following{/other_user}","gists_url":"https://api.github.com/users/LeonArcher/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonArcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonArcher/subscriptions","organizations_url":"https://api.github.com/users/LeonArcher/orgs","repos_url":"https://api.github.com/users/LeonArcher/repos","events_url":"https://api.github.com/users/LeonArcher/events{/privacy}","received_events_url":"https://api.github.com/users/LeonArcher/received_events","type":"User","site_admin":false},"repo":{"id":67990930,"name":"cryptochat","full_name":"LeonArcher/cryptochat","owner":{"login":"LeonArcher","id":11403861,"avatar_url":"https://avatars.githubusercontent.com/u/11403861?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonArcher","html_url":"https://github.com/LeonArcher","followers_url":"https://api.github.com/users/LeonArcher/followers","following_url":"https://api.github.com/users/LeonArcher/following{/other_user}","gists_url":"https://api.github.com/users/LeonArcher/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonArcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonArcher/subscriptions","organizations_url":"https://api.github.com/users/LeonArcher/orgs","repos_url":"https://api.github.com/users/LeonArcher/repos","events_url":"https://api.github.com/users/LeonArcher/events{/privacy}","received_events_url":"https://api.github.com/users/LeonArcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeonArcher/cryptochat","description":null,"fork":false,"url":"https://api.github.com/repos/LeonArcher/cryptochat","forks_url":"https://api.github.com/repos/LeonArcher/cryptochat/forks","keys_url":"https://api.github.com/repos/LeonArcher/cryptochat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeonArcher/cryptochat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeonArcher/cryptochat/teams","hooks_url":"https://api.github.com/repos/LeonArcher/cryptochat/hooks","issue_events_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues/events{/number}","events_url":"https://api.github.com/repos/LeonArcher/cryptochat/events","assignees_url":"https://api.github.com/repos/LeonArcher/cryptochat/assignees{/user}","branches_url":"https://api.github.com/repos/LeonArcher/cryptochat/branches{/branch}","tags_url":"https://api.github.com/repos/LeonArcher/cryptochat/tags","blobs_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeonArcher/cryptochat/statuses/{sha}","languages_url":"https://api.github.com/repos/LeonArcher/cryptochat/languages","stargazers_url":"https://api.github.com/repos/LeonArcher/cryptochat/stargazers","contributors_url":"https://api.github.com/repos/LeonArcher/cryptochat/contributors","subscribers_url":"https://api.github.com/repos/LeonArcher/cryptochat/subscribers","subscription_url":"https://api.github.com/repos/LeonArcher/cryptochat/subscription","commits_url":"https://api.github.com/repos/LeonArcher/cryptochat/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeonArcher/cryptochat/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeonArcher/cryptochat/contents/{+path}","compare_url":"https://api.github.com/repos/LeonArcher/cryptochat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeonArcher/cryptochat/merges","archive_url":"https://api.github.com/repos/LeonArcher/cryptochat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeonArcher/cryptochat/downloads","issues_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues{/number}","pulls_url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls{/number}","milestones_url":"https://api.github.com/repos/LeonArcher/cryptochat/milestones{/number}","notifications_url":"https://api.github.com/repos/LeonArcher/cryptochat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeonArcher/cryptochat/labels{/name}","releases_url":"https://api.github.com/repos/LeonArcher/cryptochat/releases{/id}","deployments_url":"https://api.github.com/repos/LeonArcher/cryptochat/deployments","created_at":"2016-09-12T08:33:17Z","updated_at":"2016-09-12T09:09:38Z","pushed_at":"2016-09-15T09:25:45Z","git_url":"git://github.com/LeonArcher/cryptochat.git","ssh_url":"git@github.com:LeonArcher/cryptochat.git","clone_url":"https://github.com/LeonArcher/cryptochat.git","svn_url":"https://github.com/LeonArcher/cryptochat","homepage":null,"size":246,"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":"LeonArcher:master","ref":"master","sha":"ed221cb8bb179ff9bc5633d365ea6ec0bb4a5fee","user":{"login":"LeonArcher","id":11403861,"avatar_url":"https://avatars.githubusercontent.com/u/11403861?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonArcher","html_url":"https://github.com/LeonArcher","followers_url":"https://api.github.com/users/LeonArcher/followers","following_url":"https://api.github.com/users/LeonArcher/following{/other_user}","gists_url":"https://api.github.com/users/LeonArcher/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonArcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonArcher/subscriptions","organizations_url":"https://api.github.com/users/LeonArcher/orgs","repos_url":"https://api.github.com/users/LeonArcher/repos","events_url":"https://api.github.com/users/LeonArcher/events{/privacy}","received_events_url":"https://api.github.com/users/LeonArcher/received_events","type":"User","site_admin":false},"repo":{"id":67990930,"name":"cryptochat","full_name":"LeonArcher/cryptochat","owner":{"login":"LeonArcher","id":11403861,"avatar_url":"https://avatars.githubusercontent.com/u/11403861?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonArcher","html_url":"https://github.com/LeonArcher","followers_url":"https://api.github.com/users/LeonArcher/followers","following_url":"https://api.github.com/users/LeonArcher/following{/other_user}","gists_url":"https://api.github.com/users/LeonArcher/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonArcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonArcher/subscriptions","organizations_url":"https://api.github.com/users/LeonArcher/orgs","repos_url":"https://api.github.com/users/LeonArcher/repos","events_url":"https://api.github.com/users/LeonArcher/events{/privacy}","received_events_url":"https://api.github.com/users/LeonArcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeonArcher/cryptochat","description":null,"fork":false,"url":"https://api.github.com/repos/LeonArcher/cryptochat","forks_url":"https://api.github.com/repos/LeonArcher/cryptochat/forks","keys_url":"https://api.github.com/repos/LeonArcher/cryptochat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeonArcher/cryptochat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeonArcher/cryptochat/teams","hooks_url":"https://api.github.com/repos/LeonArcher/cryptochat/hooks","issue_events_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues/events{/number}","events_url":"https://api.github.com/repos/LeonArcher/cryptochat/events","assignees_url":"https://api.github.com/repos/LeonArcher/cryptochat/assignees{/user}","branches_url":"https://api.github.com/repos/LeonArcher/cryptochat/branches{/branch}","tags_url":"https://api.github.com/repos/LeonArcher/cryptochat/tags","blobs_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeonArcher/cryptochat/statuses/{sha}","languages_url":"https://api.github.com/repos/LeonArcher/cryptochat/languages","stargazers_url":"https://api.github.com/repos/LeonArcher/cryptochat/stargazers","contributors_url":"https://api.github.com/repos/LeonArcher/cryptochat/contributors","subscribers_url":"https://api.github.com/repos/LeonArcher/cryptochat/subscribers","subscription_url":"https://api.github.com/repos/LeonArcher/cryptochat/subscription","commits_url":"https://api.github.com/repos/LeonArcher/cryptochat/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeonArcher/cryptochat/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeonArcher/cryptochat/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeonArcher/cryptochat/contents/{+path}","compare_url":"https://api.github.com/repos/LeonArcher/cryptochat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeonArcher/cryptochat/merges","archive_url":"https://api.github.com/repos/LeonArcher/cryptochat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeonArcher/cryptochat/downloads","issues_url":"https://api.github.com/repos/LeonArcher/cryptochat/issues{/number}","pulls_url":"https://api.github.com/repos/LeonArcher/cryptochat/pulls{/number}","milestones_url":"https://api.github.com/repos/LeonArcher/cryptochat/milestones{/number}","notifications_url":"https://api.github.com/repos/LeonArcher/cryptochat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeonArcher/cryptochat/labels{/name}","releases_url":"https://api.github.com/repos/LeonArcher/cryptochat/releases{/id}","deployments_url":"https://api.github.com/repos/LeonArcher/cryptochat/deployments","created_at":"2016-09-12T08:33:17Z","updated_at":"2016-09-12T09:09:38Z","pushed_at":"2016-09-15T09:25:45Z","git_url":"git://github.com/LeonArcher/cryptochat.git","ssh_url":"git@github.com:LeonArcher/cryptochat.git","clone_url":"https://github.com/LeonArcher/cryptochat.git","svn_url":"https://github.com/LeonArcher/cryptochat","homepage":null,"size":246,"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/LeonArcher/cryptochat/pulls/4"},"html":{"href":"https://github.com/LeonArcher/cryptochat/pull/4"},"issue":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/issues/4"},"comments":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/LeonArcher/cryptochat/statuses/7b786b9e124cd21b898e04f64343f85d3d2a31bc"}}}}
{"actor":{"display_login":"cypt"}}