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: 101
Registered: ‎01-06-2014
My Device: Q10
My Carrier: EE
Accepted Solution

Any swipe view control available?

Does BB10 have its own versin of iOSs page view control where the user can swipe to view different pages?

 

Developer
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: Any swipe view control available?

You can make the same effect but you won't use a swipe or pages....

 

What you do is create a horizontal ListView (https://developer.blackberry.com/native/reference/cascades/bb__cascades__listview.html) and set the flickMode (https://developer.blackberry.com/native/reference/cascades/bb__cascades__flickmode.html) to single item. Then make each list item the size of a page. For styling/UX manually add those little dots to the bottom of each page to give the look of moving from page 1-X and/or any other styling you want to give the same UX.

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: Any swipe view control available?

 


bcs925 wrote:

You can make the same effect but you won't use a swipe or pages....

 

What you do is create a horizontal ListView (https://developer.blackberry.com/native/reference/cascades/bb__cascades__listview.html) and set the flickMode (https://developer.blackberry.com/native/reference/cascades/bb__cascades__flickmode.html) to single item. Then make each list item the size of a page. For styling/UX manually add those little dots to the bottom of each page to give the look of moving from page 1-X and/or any other styling you want to give the same UX.



I've seen this question asked multiple times & That's the best explanation of how to do this I've seen so far!