public abstract class AbstractViewHolderAdapter
extends java.lang.Object
findViewById-method, which
reuses previously referenced views by using a ViewHolder.| Constructor and Description |
|---|
AbstractViewHolderAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected <ViewType extends android.view.View> |
findViewById(int viewId)
References the view, which belongs to a specific resource ID by using the view holder
pattern.
|
protected void |
setCurrentParentView(android.view.View currentParentView)
Sets the parent view, whose appearance should currently be customized by the decorator.
|
protected final void setCurrentParentView(android.view.View currentParentView)
currentParentView - The parent view, which should be set, as an instance of the class View. The
parent view may not be nullprotected final <ViewType extends android.view.View> ViewType findViewById(int viewId)
ViewType - The type, the view is implicitly casted to. It must be inherited from the class
ViewviewId - The resource ID of the view, which should be referenced, as an Integer value.
The ID must be a valid resource ID of the parent view of the view, whose appearance
is currently customized by the adapterView or null, if no view with the given ID is available