I want to draw a line with an arrow on the end.
PointCollection polylinePoints = new PointCollection(SpatialReferences.getWgs84());
polylinePoints.add(new Point(10, 10));
polylinePoints.add(new Point(20, 20));
Polyline polyline = new Polyline(polylinePoints);
SimpleLineSymbol lineSymbol = new SimpleLineSymbol(SimpleLineSymbol.Style.SOLID,
0xFF0063FF, 7, SimpleLineSymbol.MarkerStyle.ARROW, SimpleLineSymbol.MarkerPlacement.END);
Graphic polylineGraphic = new Graphic(polyline, lineSymbol);
//as i read the sceneView should be in Static rendering mode for using SimpleLineSymbol.MarkerStyle.ARROW
sceneView.getArcGISScene().getLoadSettings().setPreferredPolylineFeatureRenderingMode(FeatureLayer.RenderingMode.STATIC);
sceneView.getArcGISScene().getLoadSettings().setPreferredPointFeatureRenderingMode(FeatureLayer.RenderingMode.STATIC);
sceneView.getArcGISScene().getLoadSettings().setPreferredPolygonFeatureRenderingMode(FeatureLayer.RenderingMode.STATIC);
graphicsOverlay.getGraphics().add(polylineGraphic);
But it doen't work. Line is drawn but without arrow on its head

How to draw a line with an arrow on the Scene using arcgis runtime api for Java?