From ff46f495092a6383eef5b464524979688cde2b55 Mon Sep 17 00:00:00 2001 From: PavelRatushnyi Date: Thu, 14 Sep 2017 10:44:36 +0300 Subject: [PATCH] Fix history fragment --- .../net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java index 32c98aadda..761dcb24f9 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java @@ -232,8 +232,8 @@ public class MapMarkersHistoryFragment extends Fragment implements MapMarkersHel } void updateAdapter() { - adapter.createHeaders(); if (adapter != null) { + adapter.createHeaders(); adapter.notifyDataSetChanged(); } }