Hi there,
I wanna give LiveCode another try
I need a solution to build an App which takes a photo an put this into a row of pictures inside a slider which let the user slides through the pictures (to select one).
In Xcode/Swift I just can add a slider for iOS and add the photos via code, but I want to get this App on Android, too. So I want to build this in LiveCode.
Could someone give me a code-example how to realize a touch-slider like that? (<< only the touch-slider is my problem yet ^^)
Thank you
Still looking for an image-slider
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: Still looking for an image-slider
Use a 'native' scroller and scroll along the horizontal...
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Still looking for an image-slider
Ok, does this works on both platforms? Android and iOS?
Are there any code examples how to fill and use the native-scroller?
Are there any code examples how to fill and use the native-scroller?
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Still looking for an image-slider
Yes, native scrollers are cross-platform on mobile. There is a lesson here: http://lessons.livecode.com/m/4069/l/94 ... ll-a-field
It uses a text field as the example to scroll, but it works the same way with a group of any objects.
It uses a text field as the example to scroll, but it works the same way with a group of any objects.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com