public class CafeMenuItemActivity.CafeMenuItemAdapter extends android.widget.ArrayAdapter<CafeMenuItem>
Constructor and Description |
---|
CafeMenuItemAdapter(android.content.Context context,
int resource,
java.util.List<CafeMenuItem> menuItems) |
Modifier and Type | Method and Description |
---|---|
android.view.View |
getView(int position,
android.view.View convertView,
android.view.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
public CafeMenuItemAdapter(android.content.Context context, int resource, java.util.List<CafeMenuItem> menuItems)
@NonNull public android.view.View getView(int position, @Nullable android.view.View convertView, @NonNull android.view.ViewGroup parent)
getView
in interface android.widget.Adapter
getView
in class android.widget.ArrayAdapter<CafeMenuItem>