react-native-draggable-grid
react-native-draggable-grid copied to clipboard
Changing the background image for each item
Hey @SHISME
Sorry for continuous trouble.
Could you please reply if you have time?
I need to fix a background image for each item. I did some methods but its making the background image to be dragged too.
I want to drag the item but keep the background image fixed. Is it possible?
Could you please suggest some ideas?
Thank You!
Maybe you can make a fixed View when onDragStart?
@Ruzen1
- use imported images instead of strings
- adapt the render_item with image instead of text
you can wrap the whole thing in an <ImageBackground>
and position a <View>
that contains the <DraggableGrid>