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
Highlighted
New Contributor
Posts: 4
Registered: ‎06-09-2010
My Device: 9700
My Carrier: Rogers

Please help with an cycling between items originating from a list view using gestures

In googling around, found reference to a picture cycling app

 

http://en.wikipedia.org/wiki/BlackBerry_10

 

I gather that this is some kind of app that allows navigation between images by swiping right to left.

I could not find sample code for doing this type of thing.

 

What I'm looking for is the following. In the context of picture cycling,

I would start off with a list of pictures.

Once the user selects the top picture, I would like to swipe right to left to see the next picture.

This would represent a better user experience than to have to go back to the main list (list view) each time.

 

I still need to understand what the best practice is for navigating back, since left to right typically results in going back to the main list.

 

I would like to see how the picture app does this.

 

The real challenge would be to do similar navigation with something like webviews.

Swiping right to left goes to the next web page.

 

Any help would be greatly appreciated.

 

Thanks

 

rttom

Developer
Posts: 1,008
Registered: ‎12-12-2010
My Device: Passport (Red Limited Edition)
My Carrier: Mobile Vikings

Re: Please help with an cycling between items originating from a list view using gestures

You should take a look at the bbjamcarousel sample (https://github.com/blackberry/Cascades-Community-Samples/tree/master/stumpers).
-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!