diff options
author | lado <herrlado@gmail.com> | 2013-04-03 01:51:22 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-04-03 01:51:22 +0200 |
commit | 58a9cc0415440f4dfc90b9ff9a1b9ef0c47c5798 (patch) | |
tree | ae936354af4f1de6f023133fad27b462fa66cfa6 /vdrmanager/src/de/bjusystems | |
parent | db0d3a6469ad5c641d86a878ab15c40d45e7980d (diff) | |
download | vdr-manager-58a9cc0415440f4dfc90b9ff9a1b9ef0c47c5798.tar.gz vdr-manager-58a9cc0415440f4dfc90b9ff9a1b9ef0c47c5798.tar.bz2 |
bug fixes
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventAdapter.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventAdapter.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventAdapter.java index 297dfe0..82ac575 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventAdapter.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventAdapter.java @@ -79,6 +79,10 @@ abstract class BaseEventAdapter<T extends EventListItem> extends ArrayAdapter<T> return TYPE_ITEM; } + public static class EventListItemHeaderHolder { + TextView header; + } + private boolean canReuseConvertView(View convertView, int itemViewType){ if(convertView == null){ return false; @@ -89,13 +93,14 @@ abstract class BaseEventAdapter<T extends EventListItem> extends ArrayAdapter<T> } if(itemViewType == TYPE_HEADER){ - return o instanceof de.bjusystems.vdrmanager.gui.EventAdapter.EventListItemHeaderHolder; + return o instanceof EventListItemHeaderHolder; } return false; } + @Override public View getView(final int position, View convertView, final ViewGroup parent) { @@ -235,10 +240,6 @@ abstract class BaseEventAdapter<T extends EventListItem> extends ArrayAdapter<T> } } - class EventListItemHeaderHolder { - public TextView header; - } - protected EventListItemHeaderHolder getHeaderViewHolder(EventListItem item, View view) { |