IjzerenHein / react-navigation-shared-element

React Navigation bindings for react-native-shared-element 💫
https://github.com/IjzerenHein/react-native-shared-element
MIT License
1.27k stars 124 forks source link

Request in Detail Screen #207

Open Bayramito opened 2 years ago

Bayramito commented 2 years ago

Hi,

i wonder, is there any way to implement a system like following,

I dont want to hold entire data of an item in the List page becouse there is only an image and a text visible. So there is no need to hold entire data.

What im doing is, i only pass the id of the item to the Detail screen and make a detail request to get the data. In such case how can I implement shared element transition ? becouse there will be some delay untill the data get downloaded and rendered to the screen.

react-native: 0.64.2 react-navigation-shared-element : 3.13

unknwngera commented 1 year ago

u can try to make skeleton with passed imageId from ListScreen and show it while fetching other details