android7.0中文文档(API)-- HeterogeneousExpandableList
来源:互联网 发布:腾讯游戏数据分析 编辑:程序博客网 时间:2024/05/17 22:34
完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/HeterogeneousExpandableList.html
HeterogeneousExpandableList
public interface HeterogeneousExpandableList
Additional methods that when implemented make an ExpandableListAdapter
take advantage of theAdapter
view type mechanism.
其他方法在实现时使一ExpandableListAdapter
可以利用Adapter
视图类型的机制。
An ExpandableListAdapter
declares it has one view type for its group items and one view type for its child items. Although adapted for most ExpandableListView
s, these values should be tuned for heterogeneousExpandableListView
s.
一个ExpandableListAdapter
声明了它的组项和子项各有一个视图类型。尽管适用于大多数ExpandableListView
,但是这些值应该针对异构的ExpandableListView
进行调优。
getGroupView(int, boolean, View, ViewGroup)
和getChildView(int, int, boolean, View, ViewGroup)
的可回收视图合适的组视图或子视图类型,从而更有效地重用以前创建的视图。摘要
Public方法
abstract int
getChildType(int groupPosition, int childPosition)
Get the type of child View that will be created by getChildView(int, int, boolean, View, ViewGroup)
for the specified child item.
获取子视图的类型,将通过getChildView(int, int, boolean, View, ViewGroup)
,为指定的子项创建子视图。
abstract int
getChildTypeCount()
Returns the number of types of child Views that will be created by getChildView(int, int, boolean, View, ViewGroup)
.
返回子视图类型的数量,将通过getChildView(int, int, boolean, View, ViewGroup)
,来创建子视图。
abstract int
getGroupType(int groupPosition)
Get the type of group View that will be created by getGroupView(int, boolean, View, ViewGroup)
.
返回组视图类型的数量,将通过getGroupView(int, boolean, View, ViewGroup)
,来创建组视图。
abstract int
getGroupTypeCount()
Returns the number of types of group Views that will be created by getGroupView(int, boolean, View, ViewGroup)
.
返回组视图类型的数量,将通过getGroupView(int, boolean, View, ViewGroup)
,来创建组视图。
- android7.0中文文档(API)-- HeterogeneousExpandableList
- 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
- 静态代码块的使用(code)
- iOS 去除后台返回的数据的null值
- synchronized及其实现原理
- python编程风格(python官方PEP8文档)
- sql之left join、right join、inner join的区别
- android7.0中文文档(API)-- HeterogeneousExpandableList
- 关于用python自动创建项目管理redmine的项目及任务及子任务
- 在终端,修改Linux的网卡IP地址
- 欢迎使用CSDN-markdown编辑器
- 关于Node 与 Element 的常用总结
- [bzoj4815][CQOI2017]小Q的表格
- php 版本选择、线程安全(Thread Safe)和非线程安全(Non Thread Safe)
- android Listview头部带控件滑动距离的判断
- NHibernate实现查询分页