# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Inherited Constants | Methods | Inherited Methods

# ThemedSpinnerAdapter

`public interface ThemedSpinnerAdapter`
`implements SpinnerAdapter`

android.widget.ThemedSpinnerAdapter

Known indirect subclasses ArrayAdapter<T>, CursorAdapter, ResourceCursorAdapter, SimpleAdapter, SimpleCursorAdapter
ArrayAdapter<T> | You can use this adapter to provide views for an `AdapterView`, Returns a view for each object in a collection of data objects you provide, and can be used with list-based user interface widgets such as `ListView` or `Spinner`.
CursorAdapter | Adapter that exposes data from a `Cursor` to a `ListView` widget.
ResourceCursorAdapter | An easy adapter that creates views defined in an XML file.
SimpleAdapter | An easy adapter to map static data to views defined in an XML file.
SimpleCursorAdapter | An easy adapter to map columns from a cursor to TextViews or ImageViews defined in an XML file.

An extension of SpinnerAdapter that is capable of inflating drop-down views against a different theme than normal views.

Classes that implement this interface should use the theme provided to `setDropDownViewTheme(android.content.res.Resources.Theme)` when creating views in `SpinnerAdapter#getDropDownView(int, View, ViewGroup)`.

## Summary

### Inherited constants
From interface `android.widget.Adapter`
`int` | `IGNORE_ITEM_VIEW_TYPE` An item view type that causes the `AdapterView` to ignore the item view.
`int` | `NO_SELECTION`

### Public methods
`abstract Resources.Theme` | `getDropDownViewTheme()` Returns the value previously set by a call to `setDropDownViewTheme(android.content.res.Resources.Theme)`.
`abstract void` | `setDropDownViewTheme(Resources.Theme theme)` Sets the `Resources.Theme` against which drop-down views are inflated.

### Inherited methods
From interface `android.widget.SpinnerAdapter`
`abstract View` | `getDropDownView(int position, View convertView, ViewGroup parent)` Gets a `View` that displays in the drop down popup the data at the specified position in the data set.
From interface `android.widget.Adapter`
`default CharSequence[]` | `getAutofillOptions()` Gets a string representation of the adapter data that can help `AutofillService` autofill the view backed by the adapter.
`abstract int` | `getCount()` How many items are in the data set represented by this Adapter.
`abstract Object` | `getItem(int position)` Get the data item associated with the specified position in the data set.
`abstract long` | `getItemId(int position)` Get the row id associated with the specified position in the list.
`abstract int` | `getItemViewType(int position)` Get the type of View that will be created by `getView(int, View, ViewGroup)` for the specified item.
`abstract View` | `getView(int position, View convertView, ViewGroup parent)` Get a View that displays the data at the specified position in the data set.
`abstract int` | `getViewTypeCount()` Returns the number of types of Views that will be created by `getView(int, View, ViewGroup)`.
`abstract boolean` | `hasStableIds()` Indicates whether the item ids are stable across changes to the underlying data.
`abstract boolean` | `isEmpty()`
`abstract void` | `registerDataSetObserver(DataSetObserver observer)` Register an observer that is called when changes happen to the data used by this adapter.
`abstract void` | `unregisterDataSetObserver(DataSetObserver observer)` Unregister an observer that has previously been registered with this adapter via `registerDataSetObserver(DataSetObserver)`.

## Public methods

### getDropDownViewTheme

    public abstract Resources.Theme getDropDownViewTheme ()

Returns the value previously set by a call to `setDropDownViewTheme(android.content.res.Resources.Theme)`.

Returns
`Resources.Theme` | the `Resources.Theme` against which drop-down views are inflated, or `null` if one has not been explicitly set

### setDropDownViewTheme

    public abstract void setDropDownViewTheme (Resources.Theme theme)

Sets the `Resources.Theme` against which drop-down views are inflated.

Parameters
`theme` | `Resources.Theme`: the context against which to inflate drop-down views, or `null` to use the default theme This value may be `null`.

See also:

- `SpinnerAdapter.getDropDownView(int, View, ViewGroup)`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*