PDA

View Full Version : How to create custom List Item



jsonproxy
11 Jan 2012, 6:47 PM
Good day,

I'd like to create a list where list items will have a two buttons. I'm not sure how to place them on each item and what would be a good approach to implement button tap listeners.

Thank you.

mitchellsimoens
12 Jan 2012, 6:56 AM
If you want a ST2 button then you will need to use ComponentView. For an example you can see the Kiva example, it uses it.

OUr own Robert Dougan also wrote about it in his blog: http://robertdougan.com/posts/taking-advantage-of-componentview-in-sencha-touch-2

jsonproxy
12 Jan 2012, 8:45 PM
Thank you Mitchell