Home | History | Annotate | Download | only in widget

Lines Matching defs:Adapter

25  * An Adapter object acts as a bridge between an {@link AdapterView} and the
26 * underlying data for that view. The Adapter provides access to the data items.
27 * The Adapter is also responsible for making a {@link android.view.View} for
34 public interface Adapter {
36 * Register an observer that is called when changes happen to the data used by this adapter.
44 * adapter via {@link #registerDataSetObserver}.
51 * How many items are in the data set represented by this Adapter.
60 * @param position Position of the item whose data we want within the adapter's
69 * @param position The position of the item within the adapter's data set whose row id we want.
89 * @param position The position of the item within the adapter's data set of the item whose view
113 * @param position The position of the item within the adapter's data set whose view type we
127 * converted in {@link #getView}. If the adapter always returns the same
131 * This method will only be called when when the adapter is set on the
135 * @return The number of types of Views that will be created by this adapter
142 * @return true if this adapter doesn't contain any data. This is used to determine