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

New Developer
Posts: 8
Registered: ‎03-11-2014
My Device: dev alpha B
My Carrier: blackberry

album viewer


I want to create a horizontally scrolling list of photos that using Cascades. I'm looking for a User Interface object similar to that used by the device Camera application. The user can open the gallery to access to a specific image and have the option to scroll to the previous/next image.

I haven't found any tutorials or API documents about such an object. Can any one help me on this?

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

Re: album viewer

There isn't one per se.


You can either use a horizontally scrolling ListView or an ImageView which switches pictures on a swipe left or right, use the onTouch signal for this method.


Take a look at the animation page in the Cookbook example for a way of using animations to achieve a similar effect.



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: 252
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: album viewer



Checkout this sample app on Github in the Cascades-Samples repo:



The paged sample demos how to implement a horizontal ListView.


Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker