Hey all! I’m brand new to AppGyver and developing in general, so forgive me if my terminologies might not be right here.
I’ve been inspecting AppGyver after I ran into some problems with Thunkable and trying to find any possible workaround for binding data from a scroller to elements on the page. From what I’ve gathered it seems like UIScrollView would be the option to use if it were available in AppGyver.
In the example below, the blue box contains a scroll column. The scroller contains avatar images from a database. As the user scrolls through the options I’d like the data from the object in the center, the red box, to automatically bind to the elements on the page; the 4 text fields and large right image (highlighted in red).
EDIT: My current thinking is
- Stack three image carousels together and try to configure them to scroll vertically. This might help with the data binding (I hope!).
- Set the first image that appears in each carousel as 1, 2, 3… respectively giving the illusion that three a one single element
- Increase the container height and z-index on the center carousel enough to overlap the other two. Then and add some logic so that whenever the user scrolls up or down on the center carousel the top and bottom carousels change accordingly.
Would this work? And if so, I noticed that image carousels don’t seem to support swiping, the user has to tap the arrows. This makes the user experience kinda clumsy. Is it possible to use some Javascript or something to make them scroll?