Page 1 of 1

Still looking for an image-slider

Posted: Wed Mar 30, 2016 9:44 am
by DevBoyLars
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 :)

Re: Still looking for an image-slider

Posted: Wed Mar 30, 2016 11:27 am
by Dixie
Use a 'native' scroller and scroll along the horizontal...

Re: Still looking for an image-slider

Posted: Wed Mar 30, 2016 3:59 pm
by DevBoyLars
Ok, does this works on both platforms? Android and iOS?

Are there any code examples how to fill and use the native-scroller?

Re: Still looking for an image-slider

Posted: Fri Apr 01, 2016 8:53 pm
by jacque
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.