cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.24k stars 7.06k forks source link

[feature] Add GridView support with similar functionality or derive from ListView #10083

Open stevetranby opened 9 years ago

stevetranby commented 9 years ago

It would be great to support a ListView that has multiple columns or rows depending on scroll direction.

If vertical scroll it could allow a number of children per row setting. With an add child order using the following. 1,2,3 4,5,6 7,8

If horizontal scroll it could allow a number of children per column setting. 1,4,7 2,5,8 3,6

xiaozzjl commented 9 years ago

cocos2d-x support ScrollView, ListView extend on ScrollView. You can realize the function like ListView.