Skip to content

fix: Add missing reason for cameraMoveStartedEvents() flow#169

Merged
arriolac merged 1 commit into
mainfrom
sean/camera-move-reason
Dec 1, 2021
Merged

fix: Add missing reason for cameraMoveStartedEvents() flow#169
arriolac merged 1 commit into
mainfrom
sean/camera-move-reason

Conversation

@barbeau

@barbeau barbeau commented Dec 1, 2021

Copy link
Copy Markdown
Contributor

Currently the reason parameter from onCameraMoveStarted (int reason) method in the GoogleMap.OnCameraMoveStartedListener isn't being passed through to the Flow:
https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnCameraMoveStartedListener

This PR passes the integer value through to the Flow.

Also add it to the demo app.

Closes #168


Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #168 🦕

@barbeau barbeau requested a review from arriolac December 1, 2021 15:29
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 1, 2021

@arriolac arriolac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@arriolac arriolac merged commit 2166001 into main Dec 1, 2021
@arriolac arriolac deleted the sean/camera-move-reason branch December 1, 2021 17:49
googlemaps-bot pushed a commit that referenced this pull request Dec 1, 2021
## [3.2.1](v3.2.0...v3.2.1) (2021-12-01)

### Bug Fixes

* Add missing reason for cameraMoveStartedEvents() flow ([#169](#169)) ([2166001](2166001)), closes [#168](#168)
@googlemaps-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kotlin Flow: cameraMoveStartedEvents missing reason

3 participants