public class DesignListAdapter
extends android.widget.BaseAdapter
implements android.widget.Filterable
Constructor and Description |
---|
DesignListAdapter(android.content.Context context,
String[] arrayList)
Instantiates a new design list adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
callIntent(android.view.View v,
int position)
Call intent.
|
int |
getCount() |
android.widget.Filter |
getFilter() |
Object |
getItem(int i)
get the data of an item from a specific position i represents the
position of the item in the list
|
long |
getItemId(int i)
get the position id of the item from the list
|
android.view.View |
getView(int position,
android.view.View view,
android.view.ViewGroup viewGroup) |
public DesignListAdapter(android.content.Context context, String[] arrayList)
context
- the contextarrayList
- the array listpublic int getCount()
getCount
in interface android.widget.Adapter
public Object getItem(int i)
getItem
in interface android.widget.Adapter
public long getItemId(int i)
getItemId
in interface android.widget.Adapter
Adapter.getItemId(int)
public android.view.View getView(int position, android.view.View view, android.view.ViewGroup viewGroup)
getView
in interface android.widget.Adapter
public void callIntent(android.view.View v, int position)
v
- the vposition
- the positionpublic android.widget.Filter getFilter()
getFilter
in interface android.widget.Filterable
University of Colorado Denver, Department of Biostatistics and Informatics