org.android.activityminer.app.util
Class ParameterValuePairAdapter
java.lang.Object
android.widget.BaseAdapter
android.widget.ArrayAdapter<ParameterValuePair>
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listConfigurationEntries
private final List<ParameterValuePair> listConfigurationEntries
- The list with the entries.
context
private final Activity context
- The activity context
ParameterValuePairAdapter
public ParameterValuePairAdapter(Activity context,
List<ParameterValuePair> listConfigurationEntries)
- Constructor
- Parameters:
context
- the contextlistConfigurationEntries
- the configuration entry list
getView
public final View getView(int position,
View convertView,
ViewGroup parent)
- Specified by:
getView
in interface Adapter
- Overrides:
getView
in class ArrayAdapter<ParameterValuePair>