Does anyone know of a good way to share information from the current indexed item in a carousel?
I have two rows:
Row 1: Carousel connected to an sqlite database and displays an image from database
Row 2: Fixed container with multiple text boxes. THIS IS WHERE I WOULD LIKE TO DYNAMICALLY UPDATE the text fields based on the current item the carousel is on.
carousel
Actions & Logic
Adding a duplicate database connection to the sqlite database and using the index of the carousel to query it. This feels cluncky. Is there a more elegant way of doing this? Can I somehow share the current carousel data with other components in the app?
No
1