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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
New Contributor
josepatience
Posts: 8
Registered: ‎12-18-2012
My Carrier: Mobilicity
Accepted Solution

What is the name of the sample code used in this listView documentation example

Hi,

Does anyone know the name for the sample app used in this example and where to download it?

https://developer.blackberry.com/cascades/documentation/ui/lists/list_view.html

I'm looking for the name of the example with the checkbox inside the list.

Thx.

 

Please use plain text.
Developer
peter9477
Posts: 5,634
Registered: ‎12-08-2010
My Carrier: none

Re: What is the name of the sample code used in this listView documentation example

Do you mean the code that produces the ListView that shows in those docs with two sections Fruits and Vegetables, and the fruits Oranges and Bananas are checked while Apples is not? The code for it is right there below the screenshot... it's the second code sample on that page.

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
New Contributor
josepatience
Posts: 8
Registered: ‎12-18-2012
My Carrier: Mobilicity

Re: What is the name of the sample code used in this listView documentation example

Thanks but I don't want just that code I'm looking for the file items.xml.

 

 // Create a ListView that uses an XML data model
        ListView {
            dataModel: XmlDataModel {
                source: "models/items.xml"
            }

 

Would like to see how it is structured.

That's why I'm asking for the sample (if one exists) so I can look at the logic.

 

Please use plain text.
Developer
peter9477
Posts: 5,634
Registered: ‎12-08-2010
My Carrier: none

Re: What is the name of the sample code used in this listView documentation example

Search above that for the text "If you want to run these code samples yourself" and there's a link to a zip file there.

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
New Contributor
josepatience
Posts: 8
Registered: ‎12-18-2012
My Carrier: Mobilicity

Re: What is the name of the sample code used in this listView documentation example

That worked.
Thanks.
Please use plain text.