Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rtchagas authored Jun 25, 2019
1 parent 994d4e7 commit 0b92acd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Check the [sample](https://github.com/rtchagas/pingplacepicker/tree/master/sampl
private fun showPlacePicker() {
val pingBuilder = PingPlacePicker.IntentBuilder()
pingBuilder.setAndroidApiKey("YOUR_ANDROID_API_KEY")
pingBuilder.setGeolocationApiKey("YOUR_GEOLOCATION_API_KEY")
pingBuilder.setGeocodingApiKey("YOUR_GEOCODING_API_KEY")
try {
val placeIntent = pingBuilder.build(this)
startActivityForResult(placeIntent, REQUEST_PLACE_PICKER)
Expand All @@ -88,7 +88,7 @@ Check the [sample](https://github.com/rtchagas/pingplacepicker/tree/master/sampl
private void showPlacePicker() {
PingPlacePicker.IntentBuilder builder = new PingPlacePicker.IntentBuilder();
builder.setAndroidApiKey("YOUR_ANDROID_API_KEY")
.setGeolocationApiKey("YOUR_GEOLOCATION_API_KEY");
.setGeocodingApiKey("YOUR_GEOCODING_API_KEY");
try {
Intent placeIntent = builder.build(getActivity());
startActivityForResult(placeIntent, REQUEST_PLACE_PICKER);
Expand Down

0 comments on commit 0b92acd

Please sign in to comment.