mapbox / mapbox/mapbox-plugins-android
Scrolling recyclerView which contains MapView keeps showing blacks screens over the activity.
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 242
- 派生
- 116
- PR 合并指标
- 30 天内没有已合并 PR
描述
I'm using a MapView in a vecyclerView, but I'm getting a strange behavior.
When scrolling the recyclerView, the MapView shows a black screen over the activity.
I have already set : Mapbox.getInstance(context, getString(R.string.mapbow_access_token));
Before: setContentView(R.layout.activity_home);
Android API: 29
Mapbox Navigation SDK version:
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v9:0.12.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:0.8.0'
Expected behavior
The problem is with your map library because when I use another mapping library like google-maps-android-api-2, everything works fine as you can Look at that video:
https://youtu.be/y20aw5BAmTo
Actual behavior
The problem happened when I use your mapBox library, please Look at that other video:
https://youtu.be/p4WPyNfT034
What shall I do to remove the blacks screens over the activity ?
How to solve that issue ?
Thanks for you great library.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用列出的 Mapbox 插件版本,在 Android API 29 上的 RecyclerView 内放置 MapView,以复现黑屏问题。比较所提供视频中显示的滚动行为;滚动时 activity 始终可见且不出现黑屏即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, java
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100