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
116 * @param position The position of the item within the adapter's data set whose view type we
130 * converted in {@link #getView}. If the adapter always returns the same
134 * This method will only be called when the adapter is set on the {@link AdapterView}.
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
152 * Gets a string representation of the adapter data that can help
153 * {@link android.service.autofill.AutofillService} autofill the view backed by the adapter.
160 * thumb is that if the adapter data comes from static resources, such data is not PII - see