mapbox / mapbox/mapbox-maps-android
v9 OnCameraIdleListener and now ?
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Hello, in V9 we had OnCameraIdleListener, and I'm currently looking for the same thing. I tried ViewportStatusObserver, but it only works for animations; if I touch the card, I don't get a notification. I tried combining it with the OnMoveListener, but when I do a quick move, I get the OnMoveEnd message, but the card keeps moving.
How can I currently detect when the camera has stopped moving?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the current ViewportStatusObserver and OnMoveListener APIs, including the behavior of OnMoveEnd during touch and quick movements. Reproduce the reported interaction and compare the available camera callbacks; done means identifying or specifying a reliable way to detect when camera movement has fully stopped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100