Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to also return the actual selected LatLng from Goog… #63

Merged
merged 2 commits into from
Mar 5, 2020

Conversation

mahasadhu
Copy link
Contributor

Pull request proposal for issue #62

It would be really cool if you could take a look at this this week, since this functionality is quite urgent for me 😅

@rtchagas rtchagas linked an issue Mar 5, 2020 that may be closed by this pull request
Copy link
Owner

@rtchagas rtchagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice PR! Thank you!
Just minor comments.

@@ -97,6 +105,7 @@ class PingPlacePicker private constructor() {
companion object {

const val EXTRA_PLACE = "extra_place"
const val ACTUAL_SELECTED_LATLNG = "actual_selected_latlng"
Copy link
Owner

@rtchagas rtchagas Mar 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the naming standards for extras.
Would be nice: EXTRA_ACTUAL_LATLNG = "extra_actual_latlng"

@@ -62,6 +62,7 @@ class PlacePickerActivity : AppCompatActivity(), PingKoinComponent,

// For passing extra parameters to this activity.
const val EXTRA_LOCATION = "extra_location"
const val IS_SHOULD_RETURN_ACTUAL_LATLNG = "is_should_return_actual_latlng"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here: EXTRA_SHOULD_RETURN_ACTUAL_LATLNG

@mahasadhu
Copy link
Contributor Author

@rtchagas variable updated according to naming standards

Copy link
Owner

@rtchagas rtchagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@rtchagas rtchagas merged commit 84916e7 into rtchagas:master Mar 5, 2020
@mahasadhu
Copy link
Contributor Author

@rtchagas and thank you for releasing this immediately 😃 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select this location does not return the actual LatLng
2 participants