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: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Need help around custom page with dropdown and listview

Hi folks,

 

I need sample code or small how-to create custom Page with one dropdown component and scrolable list. Dropdown must include few items - these will be locations to BB10 filesystem (photos/video/camera etc folders in accounts/1000/shared) and the scrolable list will display the contents of the selected directory, either as thumbnails or standard label (depends from the selected item in the dropdown). At the bottom of this page, two or three one button should be present (standard back button, cancel and OK buttons).

 

I don't know which data model to use for this and how to connect filesystem folders with the contents of page components Smiley Sad

 

Any help will be greatly appreciated.

 

 

 

Highlighted
Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Need help around custom page with dropdown and listview

Hi there,

 

Have you looked at the following?

http://supportforums.blackberry.com/t5/Cascades-Development-Knowledge/Using-a-Custom-DataModel-to-Fi...

 

Also, you can have a look at the "Cookbook" example for basic UI samples?

https://developer.blackberry.com/cascades/sampleapps/

 

Martin

 

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Need help around custom page with dropdown and listview

Hi Borceg, have you made any progress on this?