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

完整内容,请查看: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>


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


请参考 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


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值