public class RadFeedback.MainMenuAdapter extends ArrayAdapter<MainMenuItem>
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
Constructor and Description |
---|
MainMenuAdapter(ArrayList<MainMenuItem> items,
Context context,
int itemResource) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
MainMenuItem |
getItem(int position) |
long |
getItemId(int position) |
int |
getPosition(MainMenuItem item) |
View |
getView(int position,
View convertView,
ViewGroup parent) |
int |
getViewTypeCount() |
add, addAll, addAll, clear, createFromResource, getContext, getDropDownView, getDropDownViewTheme, getFilter, insert, notifyDataSetChanged, remove, setDropDownViewResource, setDropDownViewTheme, setNotifyOnChange, sort
areAllItemsEnabled, getItemViewType, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getItemViewType, hasStableIds, isEmpty, registerDataSetObserver, unregisterDataSetObserver
public MainMenuAdapter(ArrayList<MainMenuItem> items, Context context, int itemResource)
public View getView(int position, View convertView, ViewGroup parent)
getView
in interface Adapter
getView
in class ArrayAdapter<MainMenuItem>
public long getItemId(int position)
getItemId
in interface Adapter
getItemId
in class ArrayAdapter<MainMenuItem>
public int getPosition(MainMenuItem item)
getPosition
in class ArrayAdapter<MainMenuItem>
public MainMenuItem getItem(int position)
getItem
in interface Adapter
getItem
in class ArrayAdapter<MainMenuItem>
public int getCount()
getCount
in interface Adapter
getCount
in class ArrayAdapter<MainMenuItem>
public int getViewTypeCount()
getViewTypeCount
in interface Adapter
getViewTypeCount
in class BaseAdapter