Below is my code after following the correct set up guides.
What's different is that I have a Flatlist rendering a component (which I import) and I pass the sharedElementID to that component. However, the intended animation still doesn't work. Below is a screenshot of my code.
Could someone please point me in the right direction as to solving this issue? Thanks! :)
It seems like your IDs have no unique identifiers. Make sure that you give a unique ID from each list item so that the screens know what to transition. It should be something like image-${id}
Below is my code after following the correct set up guides.
What's different is that I have a Flatlist rendering a component (which I import) and I pass the sharedElementID to that component. However, the intended animation still doesn't work. Below is a screenshot of my code.
Could someone please point me in the right direction as to solving this issue? Thanks! :)