Still looking for an image-slider

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DevBoyLars
Posts: 216
Joined: Wed Feb 27, 2013 9:04 pm

Still looking for an image-slider

Post by DevBoyLars » Wed Mar 30, 2016 9:44 am

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 :)

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Still looking for an image-slider

Post by Dixie » Wed Mar 30, 2016 11:27 am

Use a 'native' scroller and scroll along the horizontal...

DevBoyLars
Posts: 216
Joined: Wed Feb 27, 2013 9:04 pm

Re: Still looking for an image-slider

Post by DevBoyLars » Wed Mar 30, 2016 3:59 pm

Ok, does this works on both platforms? Android and iOS?

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

jacque
VIP Livecode Opensource Backer
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

Post by jacque » Fri Apr 01, 2016 8:53 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”