public class ListViewAdapterForDrawing
extends android.widget.BaseAdapter
| Constructor and Description |
|---|
ListViewAdapterForDrawing(android.content.Context context)
Creates the adapter by the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearList()
Clears the list to show on the list view.
|
int |
getCount() |
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
void |
setList(java.util.ArrayList<PInfo> installedApps)
Sets the list to show on the list view.
|
public ListViewAdapterForDrawing(android.content.Context context)
context - the context of activity where the adapter is constructedpublic void setList(java.util.ArrayList<PInfo> installedApps)
installedApps - the information of installed appspublic void clearList()
public int getCount()
public java.lang.Object getItem(int position)
public long getItemId(int position)
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)