完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/BaseAdapter.html
BaseAdapter
public abstract class BaseAdapter
extends Object
implements ListAdapter, SpinnerAdapter
java.lang.Object | |
↳ | android.widget.BaseAdapter |
Common base class of common implementation for an Adapter
that can be used in both ListView
(by implementing the specialized ListAdapter
interface) and Spinner
(by implementing the specialized SpinnerAdapter
interface).
用于ListView
(通过实现专用的ListAdapter
接口)和Spinner
(通过实现专用的SpinnerAdapter
接口)中的Adapter
的公共实现的通用基类。
摘要
继承常量 |
---|
From interface android.widget.Adapter
|
Public构造方法 | |
---|---|
BaseAdapter() |
Public方法 | |
---|---|
boolean | areAllItemsEnabled() Indicates whether all the items in this adapter are enabled. |
View | getDropDownView(int position, View convertView, ViewGroup parent) Gets a |
int | getItemViewType(int position) Get the type of View that will be created by |
int | getViewTypeCount() Returns the number of types of Views that will be created by |