From ca0fbc54ee45c62a8ca86e78b5e52b023c58367c Mon Sep 17 00:00:00 2001 From: lado Date: Fri, 7 Oct 2011 10:00:14 +0200 Subject: fix with hidden daily header in channel's epg --- vdrmanager/src/de/bjusystems/vdrmanager/gui/EventAdapter.java | 1 + vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventAdapter.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventAdapter.java index 10d633b..f4cb3f8 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventAdapter.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventAdapter.java @@ -72,6 +72,7 @@ abstract class EventAdapter extends ArrayAdapter { view.setPadding(view.getPaddingLeft(), 0, view.getPaddingRight(), 0); view.setBackgroundColor(Color.DKGRAY); itemHolder.state.setVisibility(View.GONE); + itemHolder.channel.setVisibility(View.VISIBLE); itemHolder.channel.setText(item.getHeader()); itemHolder.title.setVisibility(View.GONE); itemHolder.time.setVisibility(View.GONE); diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java index 1ff7d98..2af80e6 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java @@ -179,6 +179,10 @@ public class EventEpgListActivity extends BaseEpgListActivity implements task.run(); } + /* (non-Javadoc) + * TODO this method also should be used in startEpgQuery on cache hit + * @see de.bjusystems.vdrmanager.gui.BaseEpgListActivity#finishedSuccess() + */ @Override protected void finishedSuccess() { adapter.clear(); -- cgit v1.2.3