Android AbsSpinner

AbsSpinner is the parent class for Spinner.

Spinner is a view that allows us display items in a dropdown manner, allowing user pick a single item at a time.

Spinner relies on abstractions defined in this AbsSpinner class, inheriting several concrete and abstract methods.

The fact that this class has abstract methods means it's also abstract.

public abstract class AbsSpinner...{}

This class is an adapterview. So it's children will rely on an Adapter for binding of data. Specifically a SpinnerAdapter.

public abstract class AbsSpinner extends AdapterView<SpinnerAdapter>

This class like other adapterviews is defined in the android.widget package. It's existed since the first release of Android, API Level 1.

You won't use this class in your day to day projects since it's a base class meant to provide abstraction to the Spinner class. Instead you'll use Spinner.

This class has 3 children:

Subclass Description
Spinner view used to provide a quick way to select a single value from a set.
Gallery view that shows items in a center-locked, horizontally scrolling list.DEPRECATED IN API LEVEL 16.

How do You Feel after reading this?

According to scientists, we humans have 8 primary innate emotions: joy, acceptance, fear, surprise, sadness, disgust, anger, and anticipation. Feel free to tell us how you feel about this article using these emotes or via the comment section. This feedback helps us gauge our progress.

Help me Grow.

I set myself some growth ambitions I desire to achieve by this year's end regarding this website and my youtube channel. Am halfway. Help me reach them by:


What do You Think

Previous Post Next Post