java.lang.Object | ||
android.widget.BaseAdapter | ListAdapter SpinnerAdapter |
BaseAdapter() |
boolean | areAllItemsEnabled() | |||||
Are all items in this ListAdapter enabled? If yes it means all items are selectable and clickable. | ||||||
View | getDropDownView(int position, View convertView, ViewGroup parent) | |||||
Get a View that displays in the drop down popup the data at the specified position in the data set. |
||||||
int | getItemViewType(int position) | |||||
Get the type of View that will be created by getView(int, View, ViewGroup) for the specified item. | ||||||
int | getViewTypeCount() | |||||
Returns the number of types of Views that will be created by getView(int, View, ViewGroup). |
||||||
boolean | hasStableIds() | |||||
Indicated whether the item ids are stable across changes to the underlying data. | ||||||
boolean | isEmpty() | |||||
boolean | isEnabled(int position) | |||||
Returns true if the item at the specified position is not a separator. | ||||||
void | notifyDataSetChanged() | |||||
void | notifyDataSetInvalidated() | |||||
void | registerDataSetObserver(DataSetObserver observer) | |||||
Register an observer that is called when changes happen to the data used by this adapter. | ||||||
void | unregisterDataSetObserver(DataSetObserver observer) | |||||
Unregister an observer that has previously been registered with this adapter via registerDataSetObserver(DataSetObserver). |
Get a View that displays in the drop down popup the data at the specified position in the data set.
Returns the number of types of Views that will be created by getView(int, View, ViewGroup). Each type represents a set of views that can be converted in getView(int, View, ViewGroup). If the adapter always returns the same type of View for all items, this method should return 1.
This method will only be called when when the adapter is set on the the AdapterView.
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:56 |