- ·上一篇文章:CAListView(列表)
- ·下一篇文章:CAListViewDelegate
CAListViewDataSource
由 ?﹏???ζ???﹏﹏? 创建, 最后一次修改 2016-08-31 类说明CAListView的数据代理CAListView 方法(点击查看方法介绍)方法说明numberOfIndexcell的数量listViewHeightForIndexcell的高度listViewCellAtIndex生成cell listViewWillDisplayCellAtIndex回调当前将要显示的listCAListView 方法说明virtual unsigned int numberOfIndex(CAListView *listView) = 0;返回值:unsigned int 参数:类型参数名说明CAListView*listView当前的listView解释:cell的数量virtual unsigned int listViewHeightForIndex(CAListView *listView, unsigned int index) = 0;返回值:unsigned int参数:类型参数名说明CAListView*listView当前的listViewunsigned int indexcell的索引值解释:cell的高度virtual CAListViewCell* listViewCellAtIndex(CAListView *listView, const DSize& cellSize, unsigned int index) = 0;返回值:CAListViewCell*参数:类型参数名说明CAListView*listView当前的listViewconst DSize&cellSizecell的sizeunsigned int indexcell的索引值解释:生成cell virtual void listViewWillDisplayCellAtIndex(CAListView* table, CAListViewCell* cell, unsigned int index) {};返回值:void参数:类型参数名说明CAListView*tableListView的tableCAListView*listView当前的listViewunsigned int indexcell的索引值解释:回调当前将要显示的list
CAListViewDataSource