Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BoumBam opened this issue May 22, 2021 · 0 comments

Comments

@BoumBam
Copy link

BoumBam commented May 22, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant