How to add image view and textWidget to a single listview

How to add image view and textWidget to a single listview
0.0 0

#1

Hi, I’m working with cocos2dx 3.12 version. I want to create a listview which can hold both image view and textwidget. Means I want to show a listview in which I want to show 10 product image and product name below product image.

Please help me I search a lot but did not find any example like this.

I have successfully integrate listview with product image. But don’t know how to add product name below each product.

thanks.