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
Developer
Posts: 38
Registered: ‎08-15-2013
My Device: Blackberry 10
My Carrier: XL
Accepted Solution

how to make View Pager for Image Slideshow like Blackberry Home Screen

I need some help to make view pager for image slideshow, just like Blackberry Home Screen. You know there's no component for pager in QML. I've searching alternative way and i found nothing. Some people give me concept to make this, but i don't know how to implement it, i'm still need example code to make it, can anybody help me please

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

Re: how to make View Pager for Image Slideshow like Blackberry Home Screen

Welcome to the forums, best of luck with your app.

 

This has been asked and answered several times over the past year, myself answering several times, the search terms being 'slide' or 'carousel'.

 

There is a control exactly for this and it's called ListView with a setting of Horizontal.

 

If you are looking for something a bit more complex like images scaling and so forth then you are looking at implementing your own CustomControl of which there are now a couple of samples on GitHub...

 

https://github.com/blackberry/Cascades-Community-Samples/tree/master/stumpers/bbjamcarousel

 

https://github.com/Macadamian/BB10/tree/master/CarouselDemo


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.
Developer
Posts: 38
Registered: ‎08-15-2013
My Device: Blackberry 10
My Carrier: XL

Re: how to make View Pager for Image Slideshow like Blackberry Home Screen

thank you so much ! not have thought it turned out like that way ..
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: how to make View Pager for Image Slideshow like Blackberry Home Screen

Cascades is full of surprises. :-)

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.