您的位置:首页 > 移动开发 > Android开发

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

2017-06-13 11:01 471 查看

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

AdapterView

public abstract class AdapterView

extends

ViewGroup


java.lang.Object
   ↳android.view.View
    ↳android.view.ViewGroup
     ↳android.widget.AdapterView<T extends android.widget.Adapter>


已知的直接子类

AbsListView,

AbsSpinner,
AdapterViewAnimator



已知的间接子类

AdapterViewFlipper,

AppCompatSpinner,
ExpandableListView,
Gallery,
GridView,
ListView,
Spinner,
StackView

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

AdapterView是一个视图,它的子项由
Adapter
决定的。

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

Developer Guides

请参考
ListView
GridView
Spinner
Gallery
获取使用AdapterView的子类的信息。

开发者指南

For more information about using AdapterView, read the
Binding to Data with AdapterView developer guide.

关于使用AdapterView更多信息,请参考给AdapterView绑定数据开发者指南。

摘要

嵌套类

class
AdapterView.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)
方法的额外的菜单信息。 

interface
AdapterView.OnItemClickListener

Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. 

回调的接口定义,当此AdapterView内的一个项被点击时调用。 

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. 

回调的接口定义,当此视图内的一个项被选择时调用。 

继承XML属性

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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息