Skip to content

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

@BoumBam

Description

@BoumBam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions