mapbox / mapbox/mapbox-plugins-android
mapView.setOnTouchListener#onTouch is not invoked with Annotations
未关闭
还没有人认领这个 Issue。
annotation-plugin
- 主要语言
- Java
- 星标
- 242
- 派生
- 116
- PR 合并指标
- 30 天内没有已合并 PR
描述
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'
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 Android 上使用 MapView.setOnTouchListener 和 mapboxAnnotationsVersion 0.5.0 重现该问题,然后检查 LineManager 如何处理 MapView 触摸事件。确定初始化 LineManager 为什么会阻止 listener 运行,并通过确认 listener 之后会被调用来验证已记录或已实现的修复。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android
- 领域
- mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100