public class CurrentRecipeAdapter extends ArrayAdapter<AnalyzedInstructionDto>
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
Constructor and Description |
---|
CurrentRecipeAdapter(Context context,
List<AnalyzedInstructionDto> steps)
This is the constructor for the CurrentRecipeAdapter.
|
Modifier and Type | Method and Description |
---|---|
View |
getView(int position,
View convertView,
ViewGroup parent) |
add, addAll, addAll, clear, createFromResource, getAutofillOptions, getContext, getCount, getDropDownView, getDropDownViewTheme, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setDropDownViewTheme, setNotifyOnChange, sort
areAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getItemViewType, getViewTypeCount, hasStableIds, isEmpty, registerDataSetObserver, unregisterDataSetObserver
public CurrentRecipeAdapter(Context context, List<AnalyzedInstructionDto> steps)
context
- is the current recipe adapter context.steps
- is the list of StepDtopublic View getView(int position, View convertView, ViewGroup parent)
getView
in interface Adapter
getView
in class ArrayAdapter<AnalyzedInstructionDto>