public abstract class TableHeaderAdapter
extends java.lang.Object
TableHeaderView
.Constructor and Description |
---|
TableHeaderAdapter(Context context)
Creates a new TableHeaderAdapter.
|
Modifier and Type | Method and Description |
---|---|
android.content.Context |
getContext()
Gives the
android.content.Context of this adapter. |
abstract View |
getHeaderView(int columnIndex,
ViewGroup parentView)
Method that gives the header views for the different columns.
|
LayoutInflater |
getLayoutInflater()
Gives the
LayoutInflater of this adapter. |
Resources |
getResources()
Gives the
Resources of this adapter. |
public TableHeaderAdapter(Context context)
context
- The context that shall be used.public android.content.Context getContext()
android.content.Context
of this adapter. (Hint: use this method in the getHeaderView()
-method
to programmatically initialize new views.)android.content.Context
of this adapter.public LayoutInflater getLayoutInflater()
LayoutInflater
of this adapter. (Hint: use this method in the
getHeaderView()
-method to inflate xml-layout-files.)LayoutInflater
of this adapter.public Resources getResources()
Resources
of this adapter. (Hint: use this method in the
getHeaderView()
-method to resolve resources.)Resources
of the context of this adapter.public abstract View getHeaderView(int columnIndex, ViewGroup parentView)
columnIndex
- The index of the column to return the header view.parentView
- The view to which the returned view will be added.