CAListViewDelegate

类说明

CAListView的数据代理

CAListViewDelegate 方法(点击查看方法介绍)

方法说明
listViewDidSelectCellAtIndex选中cell时调用
listViewDidDeselectCellAtIndex取消选中时调用 

CAListViewDelegate 方法说明

virtual void listViewDidSelectCellAtIndex(CAListView *listView, unsigned int index)

返回值:void

参数:

类型参数名说明
CAListView*listView当前的listView
unsigned int indexcell的索引值

解释:选中cell时调用

 

virtual void listViewDidDeselectCellAtIndex(CAListView *listView, unsigned int index)

返回值:void

参数:

类型参数名说明
CAListView*listView当前的listView
unsigned int indexcell的索引值

解释:取消选中时调用 

作者:唐伯虎点蚊香,如若转载,请注明出处:https://www.web176.com/crossapp/10204.html

(0)
打赏 支付宝 支付宝 微信 微信
唐伯虎点蚊香的头像唐伯虎点蚊香
上一篇 2023年2月21日
下一篇 2023年2月21日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注