public class SeparatedListAdapter extends BaseAdapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
Constructor and Description |
---|
SeparatedListAdapter(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addSection(String section,
Adapter adapter) |
boolean |
areAllItemsSelectable() |
int |
getCount() |
Object |
getItem(int position) |
long |
getItemId(int position) |
int |
getItemViewType(int position) |
View |
getView(int position,
View convertView,
ViewGroup parent) |
int |
getViewTypeCount() |
boolean |
isEnabled(int position) |
areAllItemsEnabled, getDropDownView, hasStableIds, isEmpty, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
public SeparatedListAdapter(Context context)
public int getCount()
public Object getItem(int position)
public long getItemId(int position)
public int getViewTypeCount()
getViewTypeCount
in interface Adapter
getViewTypeCount
in class BaseAdapter
public int getItemViewType(int position)
getItemViewType
in interface Adapter
getItemViewType
in class BaseAdapter
public boolean areAllItemsSelectable()
public boolean isEnabled(int position)
isEnabled
in interface ListAdapter
isEnabled
in class BaseAdapter