{"action":"created","comment":{"url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/comments/226068514","pull_request_review_id":165802739,"id":226068514,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjA2ODUxNA==","diff_hunk":"@@ -358,7 +360,37 @@ private void popupBuilder(Marker marker) {\n         if (club.isHandicapped()) {\n             markerHandicap.setImageDrawable(MapsActivity.this.getResources().getDrawable(R.drawable.handicapicon));\n         }\n-     \n+\n+        //Bouton Share\n+\n+\n+\n+\n+        ivShare.setOnClickListener(new View.OnClickListener() {\n+            @Override\n+            public void onClick(View view) {\n+                String message  = \"J'adore ce club !\";\n+                String sport    = markerSport.getText().toString();\n+                String clubName = markerName.getText().toString();\n+                String webSite  = markeurWeb.getText().toString();\n+                Intent shareIntent = new Intent(Intent.ACTION_SEND);\n+                shareIntent.setType(\"text/plain\");\n+                String shareText =  message + \" \" + sport + \" \" + clubName + \" \" + webSite;\n+                shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,\"Look'n'Sport\");\n+                shareIntent.putExtra(Intent.EXTRA_TEXT,shareText);\n+                startActivity(Intent.createChooser(shareIntent,\"Share via\"));\n+\n+\n+\n+\n+            }\n+        });\n+","path":"app/src/main/java/fr/wildcodeschool/mesclubs/MapsActivity.java","position":71,"original_position":71,"commit_id":"3cc57d229715db43a8b3742fb101cc8f657a1095","original_commit_id":"3cc57d229715db43a8b3742fb101cc8f657a1095","user":{"login":"bastienwcs","id":29610890,"node_id":"MDQ6VXNlcjI5NjEwODkw","avatar_url":"https://avatars1.githubusercontent.com/u/29610890?v=4","gravatar_id":"","url":"https://api.github.com/users/bastienwcs","html_url":"https://github.com/bastienwcs","followers_url":"https://api.github.com/users/bastienwcs/followers","following_url":"https://api.github.com/users/bastienwcs/following{/other_user}","gists_url":"https://api.github.com/users/bastienwcs/gists{/gist_id}","starred_url":"https://api.github.com/users/bastienwcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastienwcs/subscriptions","organizations_url":"https://api.github.com/users/bastienwcs/orgs","repos_url":"https://api.github.com/users/bastienwcs/repos","events_url":"https://api.github.com/users/bastienwcs/events{/privacy}","received_events_url":"https://api.github.com/users/bastienwcs/received_events","type":"User","site_admin":false},"body":"sauts de lignes inutiles","created_at":"2018-10-17T19:40:35Z","updated_at":"2018-10-17T19:40:41Z","html_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs/pull/42#discussion_r226068514","pull_request_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/comments/226068514"},"html":{"href":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs/pull/42#discussion_r226068514"},"pull_request":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42","id":223654199,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNjU0MTk5","html_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs/pull/42","diff_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs/pull/42.diff","patch_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs/pull/42.patch","issue_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/42","number":42,"state":"open","locked":false,"title":" bouton share","user":{"login":"pf311","id":42611341,"node_id":"MDQ6VXNlcjQyNjExMzQx","avatar_url":"https://avatars3.githubusercontent.com/u/42611341?v=4","gravatar_id":"","url":"https://api.github.com/users/pf311","html_url":"https://github.com/pf311","followers_url":"https://api.github.com/users/pf311/followers","following_url":"https://api.github.com/users/pf311/following{/other_user}","gists_url":"https://api.github.com/users/pf311/gists{/gist_id}","starred_url":"https://api.github.com/users/pf311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pf311/subscriptions","organizations_url":"https://api.github.com/users/pf311/orgs","repos_url":"https://api.github.com/users/pf311/repos","events_url":"https://api.github.com/users/pf311/events{/privacy}","received_events_url":"https://api.github.com/users/pf311/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-17T15:37:22Z","updated_at":"2018-10-17T19:40:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42/commits","review_comments_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42/comments","review_comment_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/42/comments","statuses_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/statuses/3cc57d229715db43a8b3742fb101cc8f657a1095","head":{"label":"WildCodeSchool:buttonShare","ref":"buttonShare","sha":"3cc57d229715db43a8b3742fb101cc8f657a1095","user":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":150293643,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyOTM2NDM=","name":"toulouse-0918-java-mesclubs","full_name":"WildCodeSchool/toulouse-0918-java-mesclubs","private":false,"owner":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs","description":null,"fork":false,"url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs","forks_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/forks","keys_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/teams","hooks_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/hooks","issue_events_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/events{/number}","events_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/events","assignees_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/assignees{/user}","branches_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/branches{/branch}","tags_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/tags","blobs_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/refs{/sha}","trees_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/statuses/{sha}","languages_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/languages","stargazers_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/stargazers","contributors_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/contributors","subscribers_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/subscribers","subscription_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/subscription","commits_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/commits{/sha}","git_commits_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/commits{/sha}","comments_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/comments{/number}","issue_comment_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/comments{/number}","contents_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/contents/{+path}","compare_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/merges","archive_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/downloads","issues_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues{/number}","pulls_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls{/number}","milestones_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/milestones{/number}","notifications_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/labels{/name}","releases_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/releases{/id}","deployments_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/deployments","created_at":"2018-09-25T16:09:22Z","updated_at":"2018-10-17T14:17:05Z","pushed_at":"2018-10-17T15:37:22Z","git_url":"git://github.com/WildCodeSchool/toulouse-0918-java-mesclubs.git","ssh_url":"git@github.com:WildCodeSchool/toulouse-0918-java-mesclubs.git","clone_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs.git","svn_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs","homepage":null,"size":24243,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"dev"}},"base":{"label":"WildCodeSchool:dev","ref":"dev","sha":"6461be550b922f4722eef387881c227e4797cc93","user":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":150293643,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyOTM2NDM=","name":"toulouse-0918-java-mesclubs","full_name":"WildCodeSchool/toulouse-0918-java-mesclubs","private":false,"owner":{"login":"WildCodeSchool","id":8874047,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzQwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8874047?v=4","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs","description":null,"fork":false,"url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs","forks_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/forks","keys_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/teams","hooks_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/hooks","issue_events_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/events{/number}","events_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/events","assignees_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/assignees{/user}","branches_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/branches{/branch}","tags_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/tags","blobs_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/refs{/sha}","trees_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/statuses/{sha}","languages_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/languages","stargazers_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/stargazers","contributors_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/contributors","subscribers_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/subscribers","subscription_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/subscription","commits_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/commits{/sha}","git_commits_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/git/commits{/sha}","comments_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/comments{/number}","issue_comment_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/comments{/number}","contents_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/contents/{+path}","compare_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/merges","archive_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/downloads","issues_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues{/number}","pulls_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls{/number}","milestones_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/milestones{/number}","notifications_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/labels{/name}","releases_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/releases{/id}","deployments_url":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/deployments","created_at":"2018-09-25T16:09:22Z","updated_at":"2018-10-17T14:17:05Z","pushed_at":"2018-10-17T15:37:22Z","git_url":"git://github.com/WildCodeSchool/toulouse-0918-java-mesclubs.git","ssh_url":"git@github.com:WildCodeSchool/toulouse-0918-java-mesclubs.git","clone_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs.git","svn_url":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs","homepage":null,"size":24243,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42"},"html":{"href":"https://github.com/WildCodeSchool/toulouse-0918-java-mesclubs/pull/42"},"issue":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/42"},"comments":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/WildCodeSchool/toulouse-0918-java-mesclubs/statuses/3cc57d229715db43a8b3742fb101cc8f657a1095"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bastienwcs"}}