{"action":"created","comment":{"url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/comments/88909624","pull_request_review_id":9466021,"id":88909624,"diff_hunk":"@@ -0,0 +1,41 @@\n+package ru.spbau.savethemoment.ui;\n+\n+import android.app.Activity;\n+import android.os.Bundle;\n+import android.widget.TextView;\n+\n+import java.text.SimpleDateFormat;\n+\n+import ru.spbau.savethemoment.R;\n+import ru.spbau.savethemoment.common.Moment;\n+\n+public class MomentViewActivity extends Activity {\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_moment_view);\n+\n+        Moment moment = (Moment) getIntent().getSerializableExtra(\"Moment\");\n+\n+        TextView title = (TextView) findViewById(R.id.textview_momentview_title);\n+        title.setText(moment.getTitle());\n+\n+        TextView description = (TextView) findViewById(R.id.textview_momentview_description);\n+        description.setText(moment.getDescription());\n+\n+        TextView location = (TextView) findViewById(R.id.textview_momentview_location);\n+        if (moment.getLocation() == null) {\n+            location.setText(\"Location is unknown\");\n+        } else {\n+            //TODO: displaying location","path":"app/src/main/java/ru/spbau/savethemoment/ui/MomentViewActivity.java","position":31,"original_position":31,"commit_id":"784060a9c3b3e54dc88a3b81fb26eba910f5fdfd","original_commit_id":"784060a9c3b3e54dc88a3b81fb26eba910f5fdfd","user":{"login":"krinkinmu","id":1177715,"avatar_url":"https://avatars.githubusercontent.com/u/1177715?v=3","gravatar_id":"","url":"https://api.github.com/users/krinkinmu","html_url":"https://github.com/krinkinmu","followers_url":"https://api.github.com/users/krinkinmu/followers","following_url":"https://api.github.com/users/krinkinmu/following{/other_user}","gists_url":"https://api.github.com/users/krinkinmu/gists{/gist_id}","starred_url":"https://api.github.com/users/krinkinmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krinkinmu/subscriptions","organizations_url":"https://api.github.com/users/krinkinmu/orgs","repos_url":"https://api.github.com/users/krinkinmu/repos","events_url":"https://api.github.com/users/krinkinmu/events{/privacy}","received_events_url":"https://api.github.com/users/krinkinmu/received_events","type":"User","site_admin":false},"body":"На сколько вообще нужно отображать координаты связанные с моментом при отображении одного момента?\r\nМожно вместо этого добавить меню с пунктом вроде \"показать на карте\"","created_at":"2016-11-21T14:53:38Z","updated_at":"2016-11-21T14:53:38Z","html_url":"https://github.com/eshcherbin/save-the-moment/pull/6#discussion_r88909624","pull_request_url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/comments/88909624"},"html":{"href":"https://github.com/eshcherbin/save-the-moment/pull/6#discussion_r88909624"},"pull_request":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6","id":94628261,"html_url":"https://github.com/eshcherbin/save-the-moment/pull/6","diff_url":"https://github.com/eshcherbin/save-the-moment/pull/6.diff","patch_url":"https://github.com/eshcherbin/save-the-moment/pull/6.patch","issue_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/6","number":6,"state":"open","locked":false,"title":"Created MomentViewActivity","user":{"login":"egor-bogomolov","id":17790855,"avatar_url":"https://avatars.githubusercontent.com/u/17790855?v=3","gravatar_id":"","url":"https://api.github.com/users/egor-bogomolov","html_url":"https://github.com/egor-bogomolov","followers_url":"https://api.github.com/users/egor-bogomolov/followers","following_url":"https://api.github.com/users/egor-bogomolov/following{/other_user}","gists_url":"https://api.github.com/users/egor-bogomolov/gists{/gist_id}","starred_url":"https://api.github.com/users/egor-bogomolov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egor-bogomolov/subscriptions","organizations_url":"https://api.github.com/users/egor-bogomolov/orgs","repos_url":"https://api.github.com/users/egor-bogomolov/repos","events_url":"https://api.github.com/users/egor-bogomolov/events{/privacy}","received_events_url":"https://api.github.com/users/egor-bogomolov/received_events","type":"User","site_admin":false},"body":"Сделана простая версия отображения момента.\nПока что не отображается медиа контент и локация.\nПример запуска с помощью intent есть в MomentViewActivityTest.","created_at":"2016-11-21T14:46:04Z","updated_at":"2016-11-21T14:58:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7139f5df071c5a7c185bac203d58c58cb2a2bed6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6/commits","review_comments_url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6/comments","review_comment_url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/6/comments","statuses_url":"https://api.github.com/repos/eshcherbin/save-the-moment/statuses/784060a9c3b3e54dc88a3b81fb26eba910f5fdfd","head":{"label":"eshcherbin:moment_view_activity","ref":"moment_view_activity","sha":"784060a9c3b3e54dc88a3b81fb26eba910f5fdfd","user":{"login":"eshcherbin","id":7275007,"avatar_url":"https://avatars.githubusercontent.com/u/7275007?v=3","gravatar_id":"","url":"https://api.github.com/users/eshcherbin","html_url":"https://github.com/eshcherbin","followers_url":"https://api.github.com/users/eshcherbin/followers","following_url":"https://api.github.com/users/eshcherbin/following{/other_user}","gists_url":"https://api.github.com/users/eshcherbin/gists{/gist_id}","starred_url":"https://api.github.com/users/eshcherbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshcherbin/subscriptions","organizations_url":"https://api.github.com/users/eshcherbin/orgs","repos_url":"https://api.github.com/users/eshcherbin/repos","events_url":"https://api.github.com/users/eshcherbin/events{/privacy}","received_events_url":"https://api.github.com/users/eshcherbin/received_events","type":"User","site_admin":false},"repo":{"id":68514013,"name":"save-the-moment","full_name":"eshcherbin/save-the-moment","owner":{"login":"eshcherbin","id":7275007,"avatar_url":"https://avatars.githubusercontent.com/u/7275007?v=3","gravatar_id":"","url":"https://api.github.com/users/eshcherbin","html_url":"https://github.com/eshcherbin","followers_url":"https://api.github.com/users/eshcherbin/followers","following_url":"https://api.github.com/users/eshcherbin/following{/other_user}","gists_url":"https://api.github.com/users/eshcherbin/gists{/gist_id}","starred_url":"https://api.github.com/users/eshcherbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshcherbin/subscriptions","organizations_url":"https://api.github.com/users/eshcherbin/orgs","repos_url":"https://api.github.com/users/eshcherbin/repos","events_url":"https://api.github.com/users/eshcherbin/events{/privacy}","received_events_url":"https://api.github.com/users/eshcherbin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eshcherbin/save-the-moment","description":"SPbAU educational Android project","fork":false,"url":"https://api.github.com/repos/eshcherbin/save-the-moment","forks_url":"https://api.github.com/repos/eshcherbin/save-the-moment/forks","keys_url":"https://api.github.com/repos/eshcherbin/save-the-moment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eshcherbin/save-the-moment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eshcherbin/save-the-moment/teams","hooks_url":"https://api.github.com/repos/eshcherbin/save-the-moment/hooks","issue_events_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/events{/number}","events_url":"https://api.github.com/repos/eshcherbin/save-the-moment/events","assignees_url":"https://api.github.com/repos/eshcherbin/save-the-moment/assignees{/user}","branches_url":"https://api.github.com/repos/eshcherbin/save-the-moment/branches{/branch}","tags_url":"https://api.github.com/repos/eshcherbin/save-the-moment/tags","blobs_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/refs{/sha}","trees_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eshcherbin/save-the-moment/statuses/{sha}","languages_url":"https://api.github.com/repos/eshcherbin/save-the-moment/languages","stargazers_url":"https://api.github.com/repos/eshcherbin/save-the-moment/stargazers","contributors_url":"https://api.github.com/repos/eshcherbin/save-the-moment/contributors","subscribers_url":"https://api.github.com/repos/eshcherbin/save-the-moment/subscribers","subscription_url":"https://api.github.com/repos/eshcherbin/save-the-moment/subscription","commits_url":"https://api.github.com/repos/eshcherbin/save-the-moment/commits{/sha}","git_commits_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/commits{/sha}","comments_url":"https://api.github.com/repos/eshcherbin/save-the-moment/comments{/number}","issue_comment_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/comments{/number}","contents_url":"https://api.github.com/repos/eshcherbin/save-the-moment/contents/{+path}","compare_url":"https://api.github.com/repos/eshcherbin/save-the-moment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eshcherbin/save-the-moment/merges","archive_url":"https://api.github.com/repos/eshcherbin/save-the-moment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eshcherbin/save-the-moment/downloads","issues_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues{/number}","pulls_url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls{/number}","milestones_url":"https://api.github.com/repos/eshcherbin/save-the-moment/milestones{/number}","notifications_url":"https://api.github.com/repos/eshcherbin/save-the-moment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eshcherbin/save-the-moment/labels{/name}","releases_url":"https://api.github.com/repos/eshcherbin/save-the-moment/releases{/id}","deployments_url":"https://api.github.com/repos/eshcherbin/save-the-moment/deployments","created_at":"2016-09-18T10:23:43Z","updated_at":"2016-09-18T10:23:43Z","pushed_at":"2016-11-21T14:48:11Z","git_url":"git://github.com/eshcherbin/save-the-moment.git","ssh_url":"git@github.com:eshcherbin/save-the-moment.git","clone_url":"https://github.com/eshcherbin/save-the-moment.git","svn_url":"https://github.com/eshcherbin/save-the-moment","homepage":null,"size":110,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"eshcherbin:development","ref":"development","sha":"7a88a28bf05d5c674d8348c855635d324e2ade20","user":{"login":"eshcherbin","id":7275007,"avatar_url":"https://avatars.githubusercontent.com/u/7275007?v=3","gravatar_id":"","url":"https://api.github.com/users/eshcherbin","html_url":"https://github.com/eshcherbin","followers_url":"https://api.github.com/users/eshcherbin/followers","following_url":"https://api.github.com/users/eshcherbin/following{/other_user}","gists_url":"https://api.github.com/users/eshcherbin/gists{/gist_id}","starred_url":"https://api.github.com/users/eshcherbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshcherbin/subscriptions","organizations_url":"https://api.github.com/users/eshcherbin/orgs","repos_url":"https://api.github.com/users/eshcherbin/repos","events_url":"https://api.github.com/users/eshcherbin/events{/privacy}","received_events_url":"https://api.github.com/users/eshcherbin/received_events","type":"User","site_admin":false},"repo":{"id":68514013,"name":"save-the-moment","full_name":"eshcherbin/save-the-moment","owner":{"login":"eshcherbin","id":7275007,"avatar_url":"https://avatars.githubusercontent.com/u/7275007?v=3","gravatar_id":"","url":"https://api.github.com/users/eshcherbin","html_url":"https://github.com/eshcherbin","followers_url":"https://api.github.com/users/eshcherbin/followers","following_url":"https://api.github.com/users/eshcherbin/following{/other_user}","gists_url":"https://api.github.com/users/eshcherbin/gists{/gist_id}","starred_url":"https://api.github.com/users/eshcherbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshcherbin/subscriptions","organizations_url":"https://api.github.com/users/eshcherbin/orgs","repos_url":"https://api.github.com/users/eshcherbin/repos","events_url":"https://api.github.com/users/eshcherbin/events{/privacy}","received_events_url":"https://api.github.com/users/eshcherbin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eshcherbin/save-the-moment","description":"SPbAU educational Android project","fork":false,"url":"https://api.github.com/repos/eshcherbin/save-the-moment","forks_url":"https://api.github.com/repos/eshcherbin/save-the-moment/forks","keys_url":"https://api.github.com/repos/eshcherbin/save-the-moment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eshcherbin/save-the-moment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eshcherbin/save-the-moment/teams","hooks_url":"https://api.github.com/repos/eshcherbin/save-the-moment/hooks","issue_events_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/events{/number}","events_url":"https://api.github.com/repos/eshcherbin/save-the-moment/events","assignees_url":"https://api.github.com/repos/eshcherbin/save-the-moment/assignees{/user}","branches_url":"https://api.github.com/repos/eshcherbin/save-the-moment/branches{/branch}","tags_url":"https://api.github.com/repos/eshcherbin/save-the-moment/tags","blobs_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/refs{/sha}","trees_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eshcherbin/save-the-moment/statuses/{sha}","languages_url":"https://api.github.com/repos/eshcherbin/save-the-moment/languages","stargazers_url":"https://api.github.com/repos/eshcherbin/save-the-moment/stargazers","contributors_url":"https://api.github.com/repos/eshcherbin/save-the-moment/contributors","subscribers_url":"https://api.github.com/repos/eshcherbin/save-the-moment/subscribers","subscription_url":"https://api.github.com/repos/eshcherbin/save-the-moment/subscription","commits_url":"https://api.github.com/repos/eshcherbin/save-the-moment/commits{/sha}","git_commits_url":"https://api.github.com/repos/eshcherbin/save-the-moment/git/commits{/sha}","comments_url":"https://api.github.com/repos/eshcherbin/save-the-moment/comments{/number}","issue_comment_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/comments{/number}","contents_url":"https://api.github.com/repos/eshcherbin/save-the-moment/contents/{+path}","compare_url":"https://api.github.com/repos/eshcherbin/save-the-moment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eshcherbin/save-the-moment/merges","archive_url":"https://api.github.com/repos/eshcherbin/save-the-moment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eshcherbin/save-the-moment/downloads","issues_url":"https://api.github.com/repos/eshcherbin/save-the-moment/issues{/number}","pulls_url":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls{/number}","milestones_url":"https://api.github.com/repos/eshcherbin/save-the-moment/milestones{/number}","notifications_url":"https://api.github.com/repos/eshcherbin/save-the-moment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eshcherbin/save-the-moment/labels{/name}","releases_url":"https://api.github.com/repos/eshcherbin/save-the-moment/releases{/id}","deployments_url":"https://api.github.com/repos/eshcherbin/save-the-moment/deployments","created_at":"2016-09-18T10:23:43Z","updated_at":"2016-09-18T10:23:43Z","pushed_at":"2016-11-21T14:48:11Z","git_url":"git://github.com/eshcherbin/save-the-moment.git","ssh_url":"git@github.com:eshcherbin/save-the-moment.git","clone_url":"https://github.com/eshcherbin/save-the-moment.git","svn_url":"https://github.com/eshcherbin/save-the-moment","homepage":null,"size":110,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6"},"html":{"href":"https://github.com/eshcherbin/save-the-moment/pull/6"},"issue":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/6"},"comments":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/eshcherbin/save-the-moment/statuses/784060a9c3b3e54dc88a3b81fb26eba910f5fdfd"}}}}
{"actor":{"display_login":"krinkinmu"}}