From 8c93c4ab9324ccd52e45cefcbd1610e893f621e9 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 30 Dec 2014 11:02:37 +0100 Subject: [PATCH] declare location separately in class as is done in FavoritesListFragment --- .../net/osmand/plus/activities/search/SearchHistoryFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java index 9573743f56..d518819151 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryFragment.java @@ -127,6 +127,7 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear } class HistoryAdapter extends ArrayAdapter { + private LatLon location; public void updateLocation(LatLon l) { location = l;