| android.support.v7.widget.ThemedSpinnerAdapter |
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(Theme) when creating views in
getDropDownView(int, View, ViewGroup).
The ThemedSpinnerAdapter.Helper class is provided to aide implementation in a backwards compatible way.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ThemedSpinnerAdapter.Helper |
A helper class which allows easy integration of ThemedSpinnerAdapter into existing
SpinnerAdapters in a backwards compatible way.
|
||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.Adapter
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the value previously set by a call to
setDropDownViewTheme(Theme).
| |||||||||||
Sets the
Resources.Theme against which drop-down views are
inflated.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.SpinnerAdapter
| |||||||||||
From interface
android.widget.Adapter
| |||||||||||
Returns the value previously set by a call to
setDropDownViewTheme(Theme).
Resources.Theme against which drop-down views are
inflated, or null if one has not been explicitly set
Sets the Resources.Theme against which drop-down views are
inflated.
| theme | the context against which to inflate drop-down views, or
null to use the default theme |
|---|