summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {