Mapbox Navigation SDK Request and draw routes - Java

We have got the coordinate(longitude and latitude) of the destination by geocoding search and the device location at the OnIndicatorPositionChangedListener (introduced in the post using Mapbox Map SDK). Now we can request routes connecting the device location(start point) to the destination with the instance of MapboxNavigation in Navigation SDK. In this post, I will request routes by providing the coordinate of start point and destination. Then draw the paths of the routes on MapView. Buttons are added on the screen to allow the user to change the primary route. The result of the screen is shown below.