mapbox / mapbox/mapbox-plugins-android

[plugin-annotation] Inverse click listeners

未关闭
#1,182 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
242
派生
116
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该报告涉及 plugin-annotation 行为中的 click-listener dispatch,但没有指出任何文件、测试或入口点。先复现分层的 symbol 和 fill 点击序列,然后追踪 listener 是如何被 dispatch 的。当最上层 symbol listener 先于下层 fill listener 被处理,并且有覆盖该顺序的测试时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
mobile
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。