public class ExpandablePlaceHolderView extends PlaceHolderView
DEFAULT_HAS_FIXED_SIZE, DEFAULT_ITEM_VIEW_CACHE_SIZE| Constructor and Description |
|---|
ExpandablePlaceHolderView(android.content.Context context) |
ExpandablePlaceHolderView(android.content.Context context,
android.util.AttributeSet attrs) |
ExpandablePlaceHolderView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
| Modifier and Type | Method and Description |
|---|---|
<T> PlaceHolderView |
addChildView(int parentPosition,
T childResolver) |
<T> PlaceHolderView |
addChildView(T parentResolver,
T childResolver) |
<T> PlaceHolderView |
addView(int position,
T viewResolver)
Deprecated.
|
<T> PlaceHolderView |
addViewAfter(T resolverOld,
T resolverNew)
Deprecated.
|
<T> PlaceHolderView |
addViewBefore(T resolverOld,
T resolverNew)
Deprecated.
|
void |
collapse(int position) |
<T> void |
collapse(T resolver) |
void |
collapseAll() |
void |
expand(int position) |
<T> void |
expand(T resolver) |
protected void |
setupView(android.content.Context context,
ViewAdapter viewAdapter,
PlaceHolderViewBuilder builder) |
protected void |
toggle(int position,
boolean isToExpand) |
protected <T> void |
toggle(T resolver,
boolean isToExpand) |
addView, getAllViewResolvers, getBuilder, getViewAdapter, getViewResolverAtPosition, getViewResolverCount, getViewResolverPosition, refresh, refreshView, refreshView, removeAllViews, removeView, removeView, setAdapter, sortpublic ExpandablePlaceHolderView(android.content.Context context)
context - public ExpandablePlaceHolderView(android.content.Context context,
android.util.AttributeSet attrs)
context - attrs - public ExpandablePlaceHolderView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
context - attrs - defStyle - protected void setupView(android.content.Context context,
ViewAdapter viewAdapter,
PlaceHolderViewBuilder builder)
setupView in class PlaceHolderViewcontext - viewAdapter - builder - public <T> PlaceHolderView addChildView(T parentResolver, T childResolver) throws android.content.res.Resources.NotFoundException
T - parentResolver - childResolver - Resources.NotFoundExceptionpublic <T> PlaceHolderView addChildView(int parentPosition, T childResolver) throws android.content.res.Resources.NotFoundException
T - parentPosition - childResolver - Resources.NotFoundException@Deprecated public <T> PlaceHolderView addView(int position, T viewResolver) throws java.lang.IndexOutOfBoundsException
addView in class PlaceHolderViewT - position - viewResolver - java.lang.IndexOutOfBoundsException@Deprecated public <T> PlaceHolderView addViewBefore(T resolverOld, T resolverNew) throws android.content.res.Resources.NotFoundException
addViewBefore in class PlaceHolderViewT - resolverOld - resolverNew - Resources.NotFoundException@Deprecated public <T> PlaceHolderView addViewAfter(T resolverOld, T resolverNew) throws android.content.res.Resources.NotFoundException
addViewAfter in class PlaceHolderViewT - resolverOld - resolverNew - Resources.NotFoundExceptionpublic <T> void expand(T resolver)
throws android.content.res.Resources.NotFoundException
android.content.res.Resources.NotFoundExceptionpublic void expand(int position)
throws android.content.res.Resources.NotFoundException
android.content.res.Resources.NotFoundExceptionpublic <T> void collapse(T resolver)
throws android.content.res.Resources.NotFoundException
android.content.res.Resources.NotFoundExceptionpublic void collapse(int position)
throws android.content.res.Resources.NotFoundException
android.content.res.Resources.NotFoundExceptionpublic void collapseAll()
protected <T> void toggle(T resolver,
boolean isToExpand)
throws android.content.res.Resources.NotFoundException
android.content.res.Resources.NotFoundExceptionprotected void toggle(int position,
boolean isToExpand)
throws android.content.res.Resources.NotFoundException
android.content.res.Resources.NotFoundException