declare location separately in class as is done in FavoritesListFragment
This commit is contained in:
parent
359b042574
commit
8c93c4ab93
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ public class SearchHistoryFragment extends SherlockListFragment implements Sear
|
||||||
}
|
}
|
||||||
|
|
||||||
class HistoryAdapter extends ArrayAdapter<HistoryEntry> {
|
class HistoryAdapter extends ArrayAdapter<HistoryEntry> {
|
||||||
|
private LatLon location;
|
||||||
|
|
||||||
public void updateLocation(LatLon l) {
|
public void updateLocation(LatLon l) {
|
||||||
location = l;
|
location = l;
|
||||||
|
|
Loading…
Reference in a new issue