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: 237
Registered: ‎11-24-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: Telkomsel

How to add swipe right / left on container or listview

Hi, I have a container contain a listview

I want to add swipe right / left to the container or the listview (don't know where to implement the swipe)

 

my list contain a scedule for today, and swipe to change list schedule to next day / prevous day

 

How to implement this?

 

 

Thanks

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

Re: How to add swipe right / left on container or listview

Change the orientation to left to right:

 

ListView{
...
layout: StackListLayout { orientation: LayoutOrientation.LeftToRight }
...
}

 

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

My Built for BlackBerry app: The Dive Plan