Lines Matching refs:Adapter
27 import android.widget.Adapter;
39 * 2. The ListView's adapter must be passed to this class using the 'setAdapter'
40 * method. The adapter must implement the HeaderIndexer interface. If no adapter
57 protected Adapter mAdapter = null;
79 * Interface that must be implemented by the ListView adapter to provide headers locations
85 * Calculates the position of the header of a specific item in the adapter's data set.
124 * Sets the adapter to be used by the class to get views of headers
126 * @param adapter - The adapter.
129 public void setAdapter(Adapter adapter) {
137 if (adapter != null) {
138 mAdapter = adapter;
222 * @param firstVisibleItem - the index (in the list's adapter) of the top
256 // Try to make sure we have an adapter to work with (may not succeed).
363 // Resets the sticky header when the adapter data set was changed