Add method call

This commit is contained in:
Alexander Sytnyk 2017-09-12 11:59:14 +03:00
parent 63aa93ca11
commit 9e050f207c
2 changed files with 2 additions and 0 deletions

View file

@ -186,6 +186,7 @@ public class MapMarkersHelper {
List<MapMarker> activeMarkers = markersDbHelper.getActiveMarkers();
mapMarkers.addAll(activeMarkers);
checkAndFixActiveMarkersOrderIfNeeded();
List<MapMarker> markersHistory = markersDbHelper.getMarkersHistory();
sortMarkers(markersHistory, true);

View file

@ -181,6 +181,7 @@ public class EditFavoriteGroupDialogFragment extends BottomSheetDialogFragment {
addToMarkersView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// add to map markers
MapMarkersHelper markersHelper = getMyApplication().getMapMarkersHelper();
List<LatLon> points = new ArrayList<>(group.points.size());
List<PointDescription> names = new ArrayList<>(group.points.size());