Android7.0中文文档(API)--- AdapterView

来源:互联网 发布:数据库的测试方法 编辑:程序博客网 时间:2024/06/05 16:33

完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/AdapterView.html

AdapterView

public abstract class AdapterView
extendsViewGroup

java.lang.Object   ↳android.view.View    ↳android.view.ViewGroup     ↳android.widget.AdapterView<T extends android.widget.Adapter>
已知的直接子类
已知的间接子类


An AdapterView is a view whose children are determined by an Adapter.
AdapterView是一个视图,它的子项由Adapter决定的。

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

Developer Guides


请参考ListViewGridViewSpinnerGallery获取使用AdapterView的子类的信息。

开发者指南

For more information about using AdapterView, read the Binding to Data with AdapterView developer guide.
关于使用AdapterView更多信息,请参考给AdapterView绑定数据开发者指南。

摘要


嵌套类

classAdapterView.AdapterContextMenuInfo

Extra menu information provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView. 
当为这个AdapterView弹出一个上下文菜单时,提供给onCreateContextMenu(ContextMenu, View, ContextMenuInfo)方法的额外的菜单信息。 

interfaceAdapterView.OnItemClickListener

Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. 
回调的接口定义,当此AdapterView内的一个项被点击时调用。 

interfaceAdapterView.OnItemLongClickListener

Interface definition for a callback to be invoked when an item in this view has been clicked and held. 
回调的接口定义,当此此视图内的一个项被点击并保持时调用。 

interfaceAdapterView.OnItemSelectedListener

Interface definition for a callback to be invoked when an item in this view has been selected. 
回调的接口定义,当此视图内的一个项被选择时调用。 

继承XML属性

完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/AdapterView.html