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
joelajean
Posts: 127
Registered: ‎01-25-2010
My Device: Z10, Dev Alpha B & Bold 9900
My Carrier: Bell

QML Page Carousel

Hi,

 

I've been searching for a way to create a page carousel which is very similar to the top header in BlackBerry World... I've seen many apps that does implement such feature, but so far I have not been able to find sample code. There are many post regarding horizontal listview's, page swipe but nothing that related to a carousel. Is there a sample that shows how to implement this concept ?

 

Really need to get this going, to much time lost researching :smileysad:

 

Thanks

Please use plain text.
Developer
yogeshwarp
Posts: 30
Registered: ‎11-09-2012
My Device: Dev Alpha A
My Carrier: Airtel

Re: QML Page Carousel

Please use plain text.
Developer
joelajean
Posts: 127
Registered: ‎01-25-2010
My Device: Z10, Dev Alpha B & Bold 9900
My Carrier: Bell

Re: QML Page Carousel

Thanks, that is a great sample, but it's not quite what I had in mind....Might have been my wording !

 

I'm trying to achieve the same functionality which is displayed @ top of the BB10 BlackBerry World application or on an app pages which has many screen capture(cycle throught the images)...

 

My app needs to cycle from one image to another using right or left swipe gesture... The images are URL's, which are stripped from a JSON dataset. This dataset is then rendered into a QListDataModel object. Also, for each image, I have description data to display @ top of the screen.

I have no problem displaying the data in a vertical, ListView and @ first I was under the impression I could smiple y change the orientation of my listview... but my test where unconclusive !!!

Please use plain text.
Developer
igosoft
Posts: 71
Registered: ‎09-19-2012
My Device: Z10 very soon
My Carrier: Play

Re: QML Page Carousel

Hi. I can share source code tomorrow. 

Just to make sure, do you want to switch between containers with image View  on left-right swipe right. I don't have access to device now so need to ask.

Please use plain text.
Developer
joelajean
Posts: 127
Registered: ‎01-25-2010
My Device: Z10, Dev Alpha B & Bold 9900
My Carrier: Bell

Re: QML Page Carousel

Yep correct....That would be great !!!

 

Please use plain text.
Developer
igosoft
Posts: 71
Registered: ‎09-19-2012
My Device: Z10 very soon
My Carrier: Play

Re: QML Page Carousel

 

here is that project. https://github.com/igosoft/BB10-examples

 

It needs refactoring and many more. It was one of the first I wrote for BB10.

Please use plain text.
Developer
joelajean
Posts: 127
Registered: ‎01-25-2010
My Device: Z10, Dev Alpha B & Bold 9900
My Carrier: Bell

Re: QML Page Carousel

Great... I'll have to look @ it over the weekend, so when time permits I'll give you feedback !

 

Thanks

Please use plain text.