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
Kaz32
Posts: 236
Registered: ‎11-24-2012
My Device: Blackberry 10 Dev Alpha

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

Please use plain text.
Developer
bcs925
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30

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
Please use plain text.