From a25b282df7f6aff5f85ad833617531e793c16658 Mon Sep 17 00:00:00 2001 From: PavelRatushnyi Date: Wed, 20 Sep 2017 13:37:29 +0300 Subject: [PATCH] Fix updating groups in adapter --- .../net/osmand/plus/mapmarkers/MapMarkersGroupsFragment.java | 1 - .../plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersGroupsFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersGroupsFragment.java index f689f14cc8..6ef6cbd9fa 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersGroupsFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersGroupsFragment.java @@ -43,7 +43,6 @@ public class MapMarkersGroupsFragment extends Fragment implements OsmAndCompassL void updateAdapter() { if (adapter != null) { - adapter.createDisplayGroups(); adapter.notifyDataSetChanged(); } } diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java b/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java index ac65d38825..83b934685a 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java @@ -54,8 +54,7 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter