mapbox / mapbox/mapbox-plugins-android

[plugin-annotation] Inverse click listeners

Open
#1,182 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
242
Forks
116
PR merge metrics
No merged PRs in 30d

Description

If I have a symbol on top of a fill, if I click the symbol:

  • click listener of fill is called first
  • after click listener of the symbol

Is there a way to handle click listeners in order from top to bottom?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report concerns click-listener dispatch in the plugin-annotation behavior but names no files, tests, or entry points. Start by reproducing the layered symbol-and-fill click sequence, then trace how the listeners are dispatched. Done means the topmost symbol listener is handled before the underlying fill listener, with coverage for that ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.