{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/comments/173616269","pull_request_review_id":102844977,"id":173616269,"diff_hunk":"@@ -77,6 +91,30 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,\n                 getPresenter().createEvent();\n         });\n \n+        binding.form.buttonPlacePicker.setOnClickListener(view -> {\n+            int errorCode = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(getContext());\n+            if (errorCode == ConnectionResult.SUCCESS) {\n+                //SUCCESS\n+                PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder();\n+                try {\n+                    startActivityForResult(builder.build(getActivity()), PLACE_PICKER_REQUEST);\n+                } catch (GooglePlayServicesRepairableException e) {\n+                    Log.e(LOG_TAG, \"GooglePlayServicesRepairable\", e);\n+                } catch (GooglePlayServicesNotAvailableException e) {\n+                    Log.e(LOG_TAG, \"GooglePlayServices NotAvailable => Updating or Unauthentic\");\n+                }","path":"app/src/main/java/org/fossasia/openevent/app/module/event/create/CreateEventFragment.java","position":66,"original_position":66,"commit_id":"fb6f1991c196ab4bd74396f5266e4d68b3012466","original_commit_id":"fb6f1991c196ab4bd74396f5266e4d68b3012466","user":{"login":"iamareebjamal","id":3874064,"avatar_url":"https://avatars0.githubusercontent.com/u/3874064?v=4","gravatar_id":"","url":"https://api.github.com/users/iamareebjamal","html_url":"https://github.com/iamareebjamal","followers_url":"https://api.github.com/users/iamareebjamal/followers","following_url":"https://api.github.com/users/iamareebjamal/following{/other_user}","gists_url":"https://api.github.com/users/iamareebjamal/gists{/gist_id}","starred_url":"https://api.github.com/users/iamareebjamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamareebjamal/subscriptions","organizations_url":"https://api.github.com/users/iamareebjamal/orgs","repos_url":"https://api.github.com/users/iamareebjamal/repos","events_url":"https://api.github.com/users/iamareebjamal/events{/privacy}","received_events_url":"https://api.github.com/users/iamareebjamal/received_events","type":"User","site_admin":false},"body":"Use Timber","created_at":"2018-03-10T08:44:39Z","updated_at":"2018-03-10T08:44:58Z","html_url":"https://github.com/fossasia/open-event-orga-app/pull/755#discussion_r173616269","pull_request_url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/comments/173616269"},"html":{"href":"https://github.com/fossasia/open-event-orga-app/pull/755#discussion_r173616269"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755","id":174073444,"html_url":"https://github.com/fossasia/open-event-orga-app/pull/755","diff_url":"https://github.com/fossasia/open-event-orga-app/pull/755.diff","patch_url":"https://github.com/fossasia/open-event-orga-app/pull/755.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-app/issues/755","number":755,"state":"open","locked":false,"title":"Add Place Picker widget for the 'Create Event Form' #706","user":{"login":"mishuvs","id":35009811,"avatar_url":"https://avatars3.githubusercontent.com/u/35009811?v=4","gravatar_id":"","url":"https://api.github.com/users/mishuvs","html_url":"https://github.com/mishuvs","followers_url":"https://api.github.com/users/mishuvs/followers","following_url":"https://api.github.com/users/mishuvs/following{/other_user}","gists_url":"https://api.github.com/users/mishuvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuvs/subscriptions","organizations_url":"https://api.github.com/users/mishuvs/orgs","repos_url":"https://api.github.com/users/mishuvs/repos","events_url":"https://api.github.com/users/mishuvs/events{/privacy}","received_events_url":"https://api.github.com/users/mishuvs/received_events","type":"User","site_admin":false},"body":"Fixes #706 \r\n\r\nChanges: \r\n1. `Latitude` and `Longitude` text fields removed.\r\n2. Place Picker button added in place.\r\n3. `Location Name` and `Searchable Location name` are hidden initially, to make the user use the map. Once location from the map is selected, the fields are made visible to the user to confirm the auto-completed `Location Name` and `Searchable Location Name`. (For searchable location, selects most accurate address substring with no numbers)\r\n\r\nGif of the change: \r\n![picker](https://user-images.githubusercontent.com/35009811/37222745-389359e2-23f4-11e8-844f-8d6d3da38402.gif)\r\n","created_at":"2018-03-09T18:18:01Z","updated_at":"2018-03-10T08:44:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5406ee1d0ed9cb2ce2751ad1398aac7975da844","assignee":{"login":"mishuvs","id":35009811,"avatar_url":"https://avatars3.githubusercontent.com/u/35009811?v=4","gravatar_id":"","url":"https://api.github.com/users/mishuvs","html_url":"https://github.com/mishuvs","followers_url":"https://api.github.com/users/mishuvs/followers","following_url":"https://api.github.com/users/mishuvs/following{/other_user}","gists_url":"https://api.github.com/users/mishuvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuvs/subscriptions","organizations_url":"https://api.github.com/users/mishuvs/orgs","repos_url":"https://api.github.com/users/mishuvs/repos","events_url":"https://api.github.com/users/mishuvs/events{/privacy}","received_events_url":"https://api.github.com/users/mishuvs/received_events","type":"User","site_admin":false},"assignees":[{"login":"mishuvs","id":35009811,"avatar_url":"https://avatars3.githubusercontent.com/u/35009811?v=4","gravatar_id":"","url":"https://api.github.com/users/mishuvs","html_url":"https://github.com/mishuvs","followers_url":"https://api.github.com/users/mishuvs/followers","following_url":"https://api.github.com/users/mishuvs/following{/other_user}","gists_url":"https://api.github.com/users/mishuvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuvs/subscriptions","organizations_url":"https://api.github.com/users/mishuvs/orgs","repos_url":"https://api.github.com/users/mishuvs/repos","events_url":"https://api.github.com/users/mishuvs/events{/privacy}","received_events_url":"https://api.github.com/users/mishuvs/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":634391022,"url":"https://api.github.com/repos/fossasia/open-event-orga-app/labels/needs-review","name":"needs-review","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-app/issues/755/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-app/statuses/fb6f1991c196ab4bd74396f5266e4d68b3012466","head":{"label":"mishuvs:place-picker#706","ref":"place-picker#706","sha":"fb6f1991c196ab4bd74396f5266e4d68b3012466","user":{"login":"mishuvs","id":35009811,"avatar_url":"https://avatars3.githubusercontent.com/u/35009811?v=4","gravatar_id":"","url":"https://api.github.com/users/mishuvs","html_url":"https://github.com/mishuvs","followers_url":"https://api.github.com/users/mishuvs/followers","following_url":"https://api.github.com/users/mishuvs/following{/other_user}","gists_url":"https://api.github.com/users/mishuvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuvs/subscriptions","organizations_url":"https://api.github.com/users/mishuvs/orgs","repos_url":"https://api.github.com/users/mishuvs/repos","events_url":"https://api.github.com/users/mishuvs/events{/privacy}","received_events_url":"https://api.github.com/users/mishuvs/received_events","type":"User","site_admin":false},"repo":{"id":123498443,"name":"open-event-orga-app","full_name":"mishuvs/open-event-orga-app","owner":{"login":"mishuvs","id":35009811,"avatar_url":"https://avatars3.githubusercontent.com/u/35009811?v=4","gravatar_id":"","url":"https://api.github.com/users/mishuvs","html_url":"https://github.com/mishuvs","followers_url":"https://api.github.com/users/mishuvs/followers","following_url":"https://api.github.com/users/mishuvs/following{/other_user}","gists_url":"https://api.github.com/users/mishuvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuvs/subscriptions","organizations_url":"https://api.github.com/users/mishuvs/orgs","repos_url":"https://api.github.com/users/mishuvs/repos","events_url":"https://api.github.com/users/mishuvs/events{/privacy}","received_events_url":"https://api.github.com/users/mishuvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mishuvs/open-event-orga-app","description":"Open Event Mobile App for Organizers and Entry Managers https://github.com/fossasia/open-event-orga-app/raw/apk/test-app-debug.apk","fork":true,"url":"https://api.github.com/repos/mishuvs/open-event-orga-app","forks_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/forks","keys_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/teams","hooks_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/hooks","issue_events_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/issues/events{/number}","events_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/events","assignees_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/assignees{/user}","branches_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/branches{/branch}","tags_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/tags","blobs_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/statuses/{sha}","languages_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/languages","stargazers_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/stargazers","contributors_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/contributors","subscribers_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/subscribers","subscription_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/subscription","commits_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/contents/{+path}","compare_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/merges","archive_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/downloads","issues_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/issues{/number}","pulls_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/pulls{/number}","milestones_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/milestones{/number}","notifications_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/labels{/name}","releases_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/releases{/id}","deployments_url":"https://api.github.com/repos/mishuvs/open-event-orga-app/deployments","created_at":"2018-03-01T22:13:37Z","updated_at":"2018-03-01T22:13:39Z","pushed_at":"2018-03-10T08:04:00Z","git_url":"git://github.com/mishuvs/open-event-orga-app.git","ssh_url":"git@github.com:mishuvs/open-event-orga-app.git","clone_url":"https://github.com/mishuvs/open-event-orga-app.git","svn_url":"https://github.com/mishuvs/open-event-orga-app","homepage":"","size":18742,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"0ab81d3e86f365edef37b3a954265062ce743f8a","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":65606855,"name":"open-event-orga-app","full_name":"fossasia/open-event-orga-app","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-orga-app","description":"Open Event Mobile App for Organizers and Entry Managers https://github.com/fossasia/open-event-orga-app/raw/apk/test-app-debug.apk","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-orga-app","forks_url":"https://api.github.com/repos/fossasia/open-event-orga-app/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-orga-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-orga-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-orga-app/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-orga-app/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-orga-app/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-orga-app/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-orga-app/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-orga-app/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-orga-app/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-orga-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-orga-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-orga-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-orga-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-app/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-orga-app/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-orga-app/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-orga-app/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-orga-app/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-orga-app/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-orga-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-orga-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-orga-app/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-orga-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-orga-app/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-orga-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-orga-app/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-orga-app/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-orga-app/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-orga-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-app/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-orga-app/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-orga-app/deployments","created_at":"2016-08-13T08:08:39Z","updated_at":"2018-03-10T04:34:31Z","pushed_at":"2018-03-10T08:16:38Z","git_url":"git://github.com/fossasia/open-event-orga-app.git","ssh_url":"git@github.com:fossasia/open-event-orga-app.git","clone_url":"https://github.com/fossasia/open-event-orga-app.git","svn_url":"https://github.com/fossasia/open-event-orga-app","homepage":"","size":18730,"stargazers_count":334,"watchers_count":334,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":81,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":105,"open_issues":81,"watchers":334,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755"},"html":{"href":"https://github.com/fossasia/open-event-orga-app/pull/755"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/issues/755"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/issues/755/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/pulls/755/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-orga-app/statuses/fb6f1991c196ab4bd74396f5266e4d68b3012466"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"iamareebjamal"}}