Add method call
This commit is contained in:
parent
63aa93ca11
commit
9e050f207c
2 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,7 @@ public class MapMarkersHelper {
|
||||||
|
|
||||||
List<MapMarker> activeMarkers = markersDbHelper.getActiveMarkers();
|
List<MapMarker> activeMarkers = markersDbHelper.getActiveMarkers();
|
||||||
mapMarkers.addAll(activeMarkers);
|
mapMarkers.addAll(activeMarkers);
|
||||||
|
checkAndFixActiveMarkersOrderIfNeeded();
|
||||||
|
|
||||||
List<MapMarker> markersHistory = markersDbHelper.getMarkersHistory();
|
List<MapMarker> markersHistory = markersDbHelper.getMarkersHistory();
|
||||||
sortMarkers(markersHistory, true);
|
sortMarkers(markersHistory, true);
|
||||||
|
|
|
@ -181,6 +181,7 @@ public class EditFavoriteGroupDialogFragment extends BottomSheetDialogFragment {
|
||||||
addToMarkersView.setOnClickListener(new View.OnClickListener() {
|
addToMarkersView.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
// add to map markers
|
||||||
MapMarkersHelper markersHelper = getMyApplication().getMapMarkersHelper();
|
MapMarkersHelper markersHelper = getMyApplication().getMapMarkersHelper();
|
||||||
List<LatLon> points = new ArrayList<>(group.points.size());
|
List<LatLon> points = new ArrayList<>(group.points.size());
|
||||||
List<PointDescription> names = new ArrayList<>(group.points.size());
|
List<PointDescription> names = new ArrayList<>(group.points.size());
|
||||||
|
|
Loading…
Reference in a new issue