Home | History | Annotate | Download | only in widget

Lines Matching defs:Adapter

24  * An Adapter object acts as a bridge between an {@link AdapterView} and the
25 * underlying data for that view. The Adapter provides access to the data items.
26 * The Adapter is also responsible for making a {@link android.view.View} for
33 public interface Adapter {
35 * Register an observer that is called when changes happen to the data used by this adapter.
43 * adapter via {@link #registerDataSetObserver}.
50 * How many items are in the data set represented by this Adapter.
59 * @param position Position of the item whose data we want within the adapter's
68 * @param position The position of the item within the adapter's data set whose row id we want.
88 * @param position The position of the item within the adapter's data set of the item whose view
115 * @param position The position of the item within the adapter's data set whose view type we
129 * converted in {@link #getView}. If the adapter always returns the same
133 * This method will only be called when when the adapter is set on the
137 * @return The number of types of Views that will be created by this adapter
144 * @return true if this adapter doesn't contain any data. This is used to determine