Q:

How to point in direction of movement using MarkerView of Mapbox Android SDK

I am using Mapbox android sdk for my map application, i want to use pointer icon('myIcon' in this case) which always points in the direction where user is moving.
I here is my code : 
 public void addMarker(MapboxMap mapboxmap) {
// marker view options : setting location and icon
    MarkerViewOptions options = new MarkerViewOptions()
                                        .position(latLng)
                                        .anchor(0.5f, 0.5f)
                                        .icon(myIcon);

    MarkerView view = options.getMarker();

// added marker on map                   
    mapboxMap.addMarker(options);
    }

A:

With marker views we don't expose a way to do this, and your only option is to adjust the marker rotation when the camera is rotated. A better solution would be to use runtime styling and a symbol layer. An example of this can be found in our demo app. To ensure that the marker always points in the correct direction you can use the icon-rotation-alignment property and set it to map. Hope this helps!

