-

类说明

瀑布流控件代理方法


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

方法说明
waterfallViewDidSelectCellAtIndexPath选中cell时调用
waterfallViewDidDeselectCellAtIndexPath取消选择cell时调用


CAWaterfallViewDelegate 方法说明

virtual void waterfallViewDidSelectCellAtIndexPath(CAWaterfallView *waterfallView, unsigned int itemIndex){};

返回值:void

参数:

类型参数名说明
CAWaterfallView*waterfallView当前WaterfallView
unsigned int itemIndex项目Index

解释:选中cell时调用


virtual void waterfallViewDidDeselectCellAtIndexPath(CAWaterfallView *waterfallView, unsigned int itemIndex){};

返回值:void

参数:

类型参数名说明
CAWaterfallView*waterfallView当前WaterfallView
unsigned int itemIndex项目Index

解释:取消选择cell时调用