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: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

ListView in C++

Hi all,

Does anyone has any sample code on creating a List using c++, I have been digging in the documentation samples, but they uses QML which I am not comfortable using.. ..

Any c++ sample code would be very much appreciated..

Thank you

Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: ListView in C++

Have you checked out the cascadescookbookcpp app that does the ListView in c++?

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Posts: 541
Registered: ‎05-17-2009
My Device: Not Specified

Re: ListView in C++

I don't have sample code for you, but check out DataModel and ListItemProvider. Subclass those to classes, then set those objects in your ListView.