summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de/bjusystems
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-04-03 01:51:22 +0200
committerlado <herrlado@gmail.com>2013-04-03 01:51:22 +0200
commit58a9cc0415440f4dfc90b9ff9a1b9ef0c47c5798 (patch)
treeae936354af4f1de6f023133fad27b462fa66cfa6 /vdrmanager/src/de/bjusystems
parentdb0d3a6469ad5c641d86a878ab15c40d45e7980d (diff)
downloadvdr-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.java11
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) {