Iterate data source container choose iteration

Hi!

I have a container that I iterate over a datasource with. I am using the “Swipable Horizontal” variation. I am using this to swipe between a list of images. This works ok, but I would like to choose where I begin in this list. This could be done if I could choose the iteration I want to start in - then I could start at a specific image in the list of images. I attempted using skip to do so, but using this means removing all the images previous to that iteration, meaning I could not swipe back.

I am finding this necessary because there does not seem to exist built-in functionality in appfarm for simply swiping between images and zooming them. Altogether it seems natural that such a thing would be made by Appfarm as it is so foundational to phone applications.

Still, in this post the primary feature request is simply allowing to choose iteration in a “Swipable Horizontal” Iterate Data Source Container.

Hope to hear from you soon.

Hi! We discussed this in DMs, but here is a summary for the rest of the community:

The case here was to have an image gallery in a grid layout with the ability to click an image, open it in fullscreen, and then swipe between the pictures in the gallery.

The action that is triggered when clicking an image in the gallery should select the object in context. It should then open a dialog or drawer with a container iterating the same image data source using “Swipable Horizontal”. By setting the selection, the image that was clicked will be the one that appears when opening the dialog/drawer and you can then swipe between the pictures.

1 Like