11-08-2012 08:38 AM
Hi!
The ListView seems to have a recycle system when scrolling
It has drawback, for exemple, if I have a checkbox on a cell, it is sometime already checked whereas I specifically set "checked=false" in the QML.
So it means that when the webview reuse a old cell, it sets all the data that depends of the DataModel, but not the default values.
Is this assumption true?
Do we have a signal or a workaround to reset default values of the cell?
Thanks
Solved! Go to Solution.
11-08-2012 09:26 PM
I use an ImageToggleButton and set my checked:true. I've had no issues of it not working. I've had many issues with it recycling images but haven't had any issues with the toggle button.
11-09-2012 12:59 AM
12-13-2012 01:17 PM
I finally created the checkbox property to make it bind to the ListItem, even if it has no meaning for the data.
02-01-2013 11:58 PM
I'm having issues with ListView recycling ImageViews as well. Did you find a workaround?
02-06-2013 12:45 PM
Could you open a post (and provide a link to it) which describe exactly the problem your are facing?
02-07-2013 02:13 AM
02-07-2013 09:22 PM
I solved it with a bit of a hack/workaround here: http://supportforums.blackberry.com/t5/Cascades-De
4 weeks ago
Update, use this:
ListItem.onDataChanged: {
}