public abstract class

AbstractAdapterView

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

Class Overview

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

Summary

Nested Classes
class AbstractAdapterView.AdapterContextMenuInfo Extra menu information provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView. 
class AbstractAdapterView.AdapterDataSetObserver  
interface AbstractAdapterView.OnItemClickListener Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. 
interface AbstractAdapterView.OnItemLongClickListener Interface definition for a callback to be invoked when an item in this view has been clicked and held. 
interface AbstractAdapterView.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
AbstractAdapterView(Context context)
AbstractAdapterView(Context context, AttributeSet attrs)
AbstractAdapterView(Context context, AttributeSet attrs, int defStyle)
Public Methods
abstract void setAdapter(T adapter)
Sets the adapter that provides the data and the views to represent the data in this widget.
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 AbstractAdapterView (Context context)

Since: API Level 2.0

public AbstractAdapterView (Context context, AttributeSet attrs)

Since: API Level 2.0

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

Since: API Level 2.0

Public Methods

public abstract void setAdapter (T adapter)

Since: API Level 2.0

Sets the adapter that provides the data and the views to represent the data in this widget.

Parameters
adapter The adapter to use to create this view's content.

public void setEmptyView (View emptyView)

Since: API Level 2.0

Sets the view to show if the adapter is empty