belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1
ThemedSpinnerAdapter
public
interface
ThemedSpinnerAdapter
implements
SpinnerAdapter
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.
Summary
Nested classes | |
---|---|
class |
ThemedSpinnerAdapter.Helper
A helper class which allows easy integration of |
Inherited constants |
---|
![]()
android.widget.Adapter
|
Public methods | |
---|---|
abstract
Resources.Theme
|
getDropDownViewTheme()
Returns the value previously set by a call to
|
abstract
void
|
setDropDownViewTheme(Resources.Theme theme)
Sets the |
Inherited methods | |
---|---|
![]()
android.widget.SpinnerAdapter
| |
![]()
android.widget.Adapter
|