mapbox / mapbox/mapbox-navigation-android

Navigation view component did not render correctly

Open
#3,648 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

**Android API:** 29
**Mapbox Navigation SDK version:**
```
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-core:2.0.1'
implementation('com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.42.6')
```

### Steps to trigger behavior

1. Enter new activity, and start navigation
2. Without any code changes, sometimes it happens on the first start, and second start always works correctly

### Expected behavior

Most of the time it shows the component correctly as follow:

![image](https://user-images.githubusercontent.com/6477789/95966487-c4a6ed00-0e3d-11eb-8dab-5879135876c3.png)

### Actual behavior

First time opening the navigation activity, the view component like instructions(on top), time(bottom) did not display correctly

![image](https://user-images.githubusercontent.com/6477789/95966469-be187580-0e3d-11eb-84af-340282229726.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the first navigation-activity start on Android API 29 with the listed Mapbox SDK versions, then compare it with the second start. The issue names no source files or tests; done means the instruction and time views render correctly on the first start.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.