org.android.activityminer.app.util
Class ParameterValuePairAdapter

Package class diagram package ParameterValuePairAdapter
java.lang.Object
  extended by android.widget.BaseAdapter
      extended by android.widget.ArrayAdapter<ParameterValuePair>
          extended by org.android.activityminer.app.util.ParameterValuePairAdapter
All Implemented Interfaces:
Adapter, Filterable, ListAdapter, SpinnerAdapter

public class ParameterValuePairAdapter
extends ArrayAdapter<ParameterValuePair>

The array adapter for the configuration view.


Field Summary
private  Activity context
          The activity context
private  List<ParameterValuePair> listConfigurationEntries
          The list with the entries.
 
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
 
Constructor Summary
ParameterValuePairAdapter(Activity context, List<ParameterValuePair> listConfigurationEntries)
          Constructor
 
Method Summary
 View getView(int position, View convertView, ViewGroup parent)
           
 
Methods inherited from class android.widget.ArrayAdapter
add, addAll, addAll, clear, createFromResource, getContext, getCount, getDropDownView, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setNotifyOnChange, sort
 
Methods inherited from class android.widget.BaseAdapter
areAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listConfigurationEntries

private final List<ParameterValuePair> listConfigurationEntries
The list with the entries.


context

private final Activity context
The activity context

Constructor Detail

ParameterValuePairAdapter

public ParameterValuePairAdapter(Activity context,
                                 List<ParameterValuePair> listConfigurationEntries)
Constructor

Parameters:
context - the context
listConfigurationEntries - the configuration entry list
Method Detail

getView

public final View getView(int position,
                          View convertView,
                          ViewGroup parent)
Specified by:
getView in interface Adapter
Overrides:
getView in class ArrayAdapter<ParameterValuePair>