Android AdapterView

Some types of views rely on an Adapter for the purpose of data binding.

These types of views are called AdapterViews.

AdapterView belongs to android.widget package.

package android.widget

It's a generic class with the Adapter as the generic type.

android.widget.AdapterView<T extends android.widget.Adapter>

Examples of AdapterViews

There are three abstract classes inheriting from the AdapterView directly:

Subclass Description
AbsListView Base class used to create virtualized lists. Direct parent of ListView and GridView.
AbsSpinner Base class used to create spinner and gallery.
AdapterViewAnimator Class used by other adapterview children as base for creation of animations when switching between views.

There are also many classes that do inherit from this class indirectly. Here the most popular among them:

View Description
GridView Renders Items ina 2D scrolling grid.
ListView Renders items in a scrollable vertical list.
ExpandableListeView Renders items in a scrollable vertical two level list.
Spinner Renders items in a dropdown, allowing user pick one at a time.

Top Android AdapterView Types

Let's look at some examples.

{% set card_number = 1 %} {% for p in page.find('/android/adapterview').children if p != page %}
{{ card_number }} . {{ p.title }}

{% if p.summary != p.content %} {{ p.summary }} {% else %} {{ p.content }} {% endif %}
{% set card_number = card_number + 1 %} {% endfor %}

Best Regards, Oclemy.

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