diff options
| author | Torsten Keil <github@torsten-keil.net> | 2012-01-29 21:31:43 +0100 |
|---|---|---|
| committer | Torsten Keil <github@torsten-keil.net> | 2012-01-29 21:31:43 +0100 |
| commit | 460d78b9518386f567e5a4c5752ad653a3a48419 (patch) | |
| tree | eb728bc8c33d22807caad25d258a7b10fe03f7d8 | |
| parent | 56f2474379db581abdfb2e74d70c6827c0c4b297 (diff) | |
| download | cgeo-460d78b9518386f567e5a4c5752ad653a3a48419.zip cgeo-460d78b9518386f567e5a4c5752ad653a3a48419.tar.gz cgeo-460d78b9518386f567e5a4c5752ad653a3a48419.tar.bz2 | |
Added Geocode to entries in history list.
| -rw-r--r-- | main/src/cgeo/geocaching/ui/CacheListAdapter.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/ui/CacheListAdapter.java b/main/src/cgeo/geocaching/ui/CacheListAdapter.java index bc046f1..3a93c6a 100644 --- a/main/src/cgeo/geocaching/ui/CacheListAdapter.java +++ b/main/src/cgeo/geocaching/ui/CacheListAdapter.java @@ -574,6 +574,10 @@ public class CacheListAdapter extends ArrayAdapter<cgCache> { cacheInfo.append(cgBase.formatTime(cache.getVisitedDate())); cacheInfo.append("; "); cacheInfo.append(cgBase.formatDate(cache.getVisitedDate())); + if (StringUtils.isNotBlank(cache.getGeocode())) { + cacheInfo.append(SEPARATOR); + cacheInfo.append(StringUtils.upperCase(cache.getGeocode())); + } holder.info.setText(cacheInfo.toString()); } else { ArrayList<String> infos = new ArrayList<String>(); |
