Image Gallery for Mendix native apps

0
Hi everyone, I need some help with creating a gallery UI for my native app in Mendix. I would like to achieve a layout exactly same to the one shown in the attached image, where multiple photos are displayed in a grid-like format, and clicking on a photo opens a larger view or more details. Can anyone provide guidance or best practices on how to set this up in Mendix? Thank you in advance for your assistance!
asked
2 answers
0

You can use the gallery widget for that, see https://docs.mendix.com/appstore/modules/gallery/

answered
0

To get you started with a Custom widget, i made a small Expo Snack. https://snack.expo.dev/@juegoappteam/thoughtful-indigo-donut

check it on your phone directly by scanning the code.

Now the intention is to focus on the SocialPost component in the components folder. To this you need to page the post data which can come from the widget properties. 

Check the pluggable widget documentation on how get the data from the mendix modeler to the widget.

Perhaps the first step is to simply get started with an blank widget with my code as sample and render a dummy widget and see how to shows :) then get on with other tasks 1 at a time :) you will get to the final results eventually.

 

All the best

answered