public abstract class

AdapterView

extends ViewGroup
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.htc.fragment.widget.AdapterView<T extends android.widget.Adapter>
Known Indirect Subclasses

Class Overview

An AdapterView is a view whose children are determined by an Adapter.

See ListView, GridView, Spinner and Gallery for commonly used subclasses of AdapterView.

Summary

Nested Classes
class AdapterView.AdapterContextMenuInfo Extra menu information provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView. 
interface AdapterView.OnItemClickListener Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. 
interface AdapterView.OnItemLongClickListener Interface definition for a callback to be invoked when an item in this view has been clicked and held. 
interface AdapterView.OnItemSelectedListener Interface definition for a callback to be invoked when an item in this view has been selected. 
[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.ViewGroup
From class android.view.View
Public Constructors
AdapterView(Context context)
AdapterView(Context context, AttributeSet attrs)
AdapterView(Context context, AttributeSet attrs, int defStyle)
Public Methods
void setEmptyView(View emptyView)
Sets the view to show if the adapter is empty
[Expand]
Inherited Methods
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.graphics.drawable.Drawable.Callback2
From interface android.view.HtcIfViewGroup
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public AdapterView (Context context)

Since: API Level 4.0

public AdapterView (Context context, AttributeSet attrs)

Since: API Level 4.0

public AdapterView (Context context, AttributeSet attrs, int defStyle)

Since: API Level 4.0

Public Methods

public void setEmptyView (View emptyView)

Since: API Level 4.0

Sets the view to show if the adapter is empty