Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 27
Registered: ‎05-15-2012
My Device: Dev Alpha B
My Carrier: Bell

ListView:onTriggered vs ImageButton:onClicked



I have an odd problem. I have a ListView containing many ListItemComponents.


The ListView has the onTriggered: method implemented, which works well. However, in my ListItemComponent, I have an ImageButton with onClick implemented.


This is the problem: When I click on the ListItemComponent anywhere (except on the ImageButton), it triggers something correcty. However, I want to have a different even fire if the user clicks on the ImageButton instead. What happens though, is nothing gets fired. The ImageButton seems to steal the even from the onTriggered (which is fine) but nothing in the button's onClick executes!


Anyone have any ideas?


Thanks a bunch,




Macadamian Technologies Inc.