aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/list/PseudoList.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/list/PseudoList.java')
-rw-r--r--main/src/cgeo/geocaching/list/PseudoList.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/list/PseudoList.java b/main/src/cgeo/geocaching/list/PseudoList.java
new file mode 100644
index 0000000..c93f011
--- /dev/null
+++ b/main/src/cgeo/geocaching/list/PseudoList.java
@@ -0,0 +1,20 @@
+package cgeo.geocaching.list;
+
+import cgeo.geocaching.CgeoApplication;
+import cgeo.geocaching.R;
+
+public class PseudoList extends AbstractList {
+
+ public static final int ALL_LIST_ID = 2;
+ public static final PseudoList ALL_LIST = new PseudoList(ALL_LIST_ID, R.string.list_all_lists);
+
+ public PseudoList(int id, final int titleResourceId) {
+ super(id, CgeoApplication.getInstance().getResources().getString(titleResourceId));
+ }
+
+ @Override
+ public String getTitleAndCount() {
+ return "<" + title + ">";
+ }
+
+}