summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-10-06 02:43:23 +0200
committerlado <herrlado@gmail.com>2011-10-06 02:43:23 +0200
commit24528f410712a25d17e586dd31a0615e2ec86464 (patch)
tree9972113bd8ba2f8eda0ac11fd30d50597e0a345c
parent2d0486330d8d8a87ecdc228dd0e01626c541dbe3 (diff)
downloadvdr-manager-24528f410712a25d17e586dd31a0615e2ec86464.tar.gz
vdr-manager-24528f410712a25d17e586dd31a0615e2ec86464.tar.bz2
recording adapter, initial version
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingAdapter.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingAdapter.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingAdapter.java
new file mode 100644
index 0000000..09c6921
--- /dev/null
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingAdapter.java
@@ -0,0 +1,21 @@
+package de.bjusystems.vdrmanager.gui;
+
+import android.content.Context;
+import de.bjusystems.vdrmanager.R;
+import de.bjusystems.vdrmanager.data.Event;
+import de.bjusystems.vdrmanager.data.EventFormatter;
+
+class RecordingAdapter extends EventAdapter
+{
+
+
+ public RecordingAdapter(final Context context) {
+ super(context, R.layout.epg_event_item);
+ hideChannelName = false;
+ }
+
+ @Override
+ protected EventFormatter getEventFormatter(Event event) {
+ return new EventFormatter(event, true);
+ }
+} \ No newline at end of file