public class TutorialAdapter
extends android.widget.BaseAdapter
implements android.widget.Filterable
Constructor and Description |
---|
TutorialAdapter(android.content.Context context,
String[] arrayList)
Instantiates a new tutorial 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) |
long |
getItemId(int i) |
android.view.View |
getView(int position,
android.view.View view,
android.view.ViewGroup viewGroup) |
public TutorialAdapter(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
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