Welcome!

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

Reply
Developer
Posts: 654
Registered: ‎10-08-2009
My Device: Bold 9900
My Carrier: Telus

ListView bug when ListItemComponent have gestureHandlers embeded?

[ Edited ]

Hi, I have a question for those who are developing apps with ListView implemented.

 

Due to the limitation of variable scope of ListView and ListItemComponent, I have embeded gestureHandlers in each ListItemComponent instead of using the ListView's onTriggered to modify the ListItemComponent ui.

 

When scrolling, sometimes the property variables for certain ListItemComponent gets messed up but when I remove the gestureHandlers, there is no problem.

 

Does anyone know why this is happening?

----------------------------------------------------------
Twitter: @gyubok