Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Scrolling recyclerView which contains MapView keeps showing blacks screens over the activity.

オープン
#1,186 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, java
領域
mobile

調査の方向性

まず、記載されている Mapbox plugin のバージョンを使用し、Android API 29 上で RecyclerView 内に MapView を配置したときの黒い画面を再現します。提供された動画に示されているスクロール動作を比較します。スクロール中も黒い画面が表示されず、activity が表示されたままになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Java
スター
242
フォーク
116
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mapbox/mapbox-plugins-android のほかの issue

mapbox/mapbox-plugins-android の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。