Added in API level 1

AbsSpinner


abstract class AbsSpinner : AdapterView<SpinnerAdapter!>
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.AdapterView<android.widget.SpinnerAdapter>
   ↳ android.widget.AbsSpinner

An abstract base class for spinner widgets. SDK users will probably not need to use this class.

Summary

XML attributes
android:entries Reference to an array resource that will populate the Spinner.
Inherited XML attributes
Inherited constants
Public constructors
AbsSpinner(context: Context!)

AbsSpinner(context: Context!, attrs: AttributeSet!)

AbsSpinner(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

AbsSpinner(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
open Unit

open CharSequence!

open SpinnerAdapter!

open Int

Describes the autofill type of this view, so an android.service.autofill.AutofillService can create the proper AutofillValue when autofilling the view.

open AutofillValue?

open Int

open View!

open Unit

open Parcelable?

open Int

Maps a point to a position in the list.

open Unit

Override to prevent spamming ourselves with layout requests as we place views

open Unit

The Adapter is used to provide the data which backs this Spinner.

open Unit
setSelection(position: Int)

open Unit
setSelection(position: Int, animate: Boolean)

Jump directly to a specific item in the adapter data.

Protected methods
open Unit

open ViewGroup.LayoutParams!

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

Inherited functions