From 24528f410712a25d17e586dd31a0615e2ec86464 Mon Sep 17 00:00:00 2001 From: lado Date: Thu, 6 Oct 2011 02:43:23 +0200 Subject: recording adapter, initial version --- .../bjusystems/vdrmanager/gui/RecordingAdapter.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingAdapter.java (limited to 'vdrmanager/src/de') 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 -- cgit v1.2.3