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: 374
Registered: ‎02-12-2011
My Device: Bold 9780
My Carrier: Wind Mobile

Custom List Items

In BB Java I would pass a vector filled with all my data and extend a listfield and override the drawing of each item so I could implement my data from my vector how I wanted.


I'm trying to figure out what would be the most appropriate in cascades. 


I see the listview, which at least sounds correct and I must shoose a dataModel. Ideally the number of items in the list is to be dynamic as the user can add or remove. Each item in the list displays things like date, time, and other settings associated with this list item.


I'm just looking for direction as how I can do this. I assume I will define the structure in the qml of the list items and then I can manipulate the data for them in C++?



Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: Custom List Items

Take a read through this documentation, it should answer all of your questions https://developer.blackberry.com/cascades/documentation/ui/lists/index.html

Like all of my posts