mapbox / mapbox/mapbox-plugins-android
mapView.setOnTouchListener#onTouch is not invoked with Annotations
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 242
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I set onTouchListener for MapView and the code inside the block as below was invoked each time.
mapView.setOnTouchListener { view, event -> ... }
However, after initializing LineManager, View.OnTouchListener has no effect. What is causing it and how can I fix it?
Platform: Android
mapboxAnnotationsVersion = '0.5.0'
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
Reproduce the issue on Android with MapView.setOnTouchListener and mapboxAnnotationsVersion 0.5.0, then inspect how LineManager handles MapView touch events. Determine why initializing LineManager prevents the listener from running and verify the documented or implemented fix by confirming the listener is invoked afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100