Android7.0中文文档(API)-- ExpandableListAdapter
来源:互联网 发布:逸晗网络 编辑:程序博客网 时间:2024/05/29 19:39
完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/ExpandableListAdapter.html
ExpandableListAdapter
public interface ExpandableListAdapter
An adapter that links a ExpandableListView
with the underlying data. The implementation of this interface will provide access to the data of the children (categorized by groups), and also instantiate View
s for children and groups.
一个适配器,它将一个ExpandableListView
与底层数据连接起来。该接口的实现将提供对子项数据的访问(按组分类),并为子项和组项实例化视图。
摘要
Public方法
abstract boolean
areAllItemsEnabled()
abstract Object
getChild(int groupPosition, int childPosition)
Gets the data associated with the given child within the given group.
获取与指定组中的指定子游标关联的数据。
abstract long
getChildId(int groupPosition, int childPosition)
Gets the ID for the given child within the given group.
获取与指定组中的指定子游标关联的ID。
abstract View
getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent)
Gets a View that displays the data for the given child within the given group.
获取为指定组中的指定子游标显示数据的视图。
abstract int
getChildrenCount(int groupPosition)
Gets the number of children in a specified group.
返回指定组中子游标的数量。
abstract long
getCombinedChildId(long groupId, long childId)
Gets an ID for a child that is unique across any item (either group or child) that is in this list.
获取这个列表中的任何项(组项或子项)的子游标的一个唯一的ID。
abstract long
getCombinedGroupId(long groupId)
Gets an ID for a group that is unique across any item (either group or child) that is in this list.
获取为这个列表中的任何项(组项或子项)的组游标的一个唯一的ID。
abstract Object
getGroup(int groupPosition)
Gets the data associated with the given group.
获取与指定组关联的数据。
- Android7.0中文文档(API)-- ExpandableListAdapter
- Android7.0中文文档(API)--- FrameLayout
- Android7.0中文文档(API)--- DatePicker
- Android7.0中文文档(API) --- MediaController
- Android7.0中文文档(API)--- TabHost
- Android7.0中文文档(API) -- TimePicker
- Android7.0中文文档(API)-- ViewAnimator
- Android7.0中文文档(API)--- AbsoluteLayout
- Android7.0中文文档(API) -- Switch
- Android7.0中文文档(API) --- ToggleButton
- Android7.0中文文档(API) --- RadioButton
- Android7.0中文文档(API) --- CheckedTextView
- Android7.0中文文档(API) -- ScrollView
- Android7.0中文文档(API)-- DigitalClock
- Android7.0中文文档(API)-- TextClock
- Android7.0中文文档(API)---Chronometer
- Android7.0中文文档(API)--- AdapterView
- Android7.0中文文档(API)--- AdapterViewAnimator
- RNN 资源
- svn如何移动目录并且保存历史日志?
- SOCK_STREAM和SOCK_DGRAM为什么会有这两种数据类型
- oracle 编写sql语句获取表中的最后一条数据
- linux下搭建多个tomcat
- Android7.0中文文档(API)-- ExpandableListAdapter
- android回调函数
- 使用python自动化处理三方数据入库工作
- 解决webview退出时崩溃
- TCP/IP详解卷一:第二章
- 对象转换成Json字符串是时中文乱码
- IntelliJ IDEA快速创建Maven工程的WEB项目
- 冒泡排序
- RAM输出延时