diff options
| -rw-r--r-- | main/src/cgeo/geocaching/ui/CacheListAdapter.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/ui/CacheListAdapter.java b/main/src/cgeo/geocaching/ui/CacheListAdapter.java index bc046f1..0a4e395 100644 --- a/main/src/cgeo/geocaching/ui/CacheListAdapter.java +++ b/main/src/cgeo/geocaching/ui/CacheListAdapter.java @@ -570,11 +570,11 @@ public class CacheListAdapter extends ArrayAdapter<cgCache> { holder.favourite.setBackgroundResource(favoriteBack); if (cacheListType == CacheListType.HISTORY && cache.getVisitedDate() > 0) { - StringBuilder cacheInfo = new StringBuilder(50); - cacheInfo.append(cgBase.formatTime(cache.getVisitedDate())); - cacheInfo.append("; "); - cacheInfo.append(cgBase.formatDate(cache.getVisitedDate())); - holder.info.setText(cacheInfo.toString()); + ArrayList<String> infos = new ArrayList<String>(); + infos.add(StringUtils.upperCase(cache.getGeocode())); + infos.add(cgBase.formatDate(cache.getVisitedDate())); + infos.add(cgBase.formatTime(cache.getVisitedDate())); + holder.info.setText(StringUtils.join(infos, SEPARATOR)); } else { ArrayList<String> infos = new ArrayList<String>(); if (StringUtils.isNotBlank(cache.getGeocode())) { |
