Unanswered: List Item with multiple touch point actions
Unanswered: List Item with multiple touch point actions
Does anyone know if it is possible to have multiple icon buttons on a Sencha Touch list item that listen to different events? If so, how can I accomplish this?
For instance, say I have a list of people and there's an icon for email, phone and a map to their location for each person. I want to show 3 small icons and be able to map each icon to do 3 separate actions.
One thought I had is just wrap them with HTML for email and phone anchor tags but map would need to fire an event.
It is possible. Use a button or image and attach your listeners to those specific buttons/images. You can extend ListItem or DataViewItem to make a custom list row in order to do the aforementioned.