React native drag and drop position football training
I have such a thing, the formations are so declared: 4-4-2: [ [{}]//1 [{},{},{},{}...],//4 [{},{},{},{}...],//4 [{},{}...]//2 ] So I do two nested cycles, one to scroll the rows from the door to the midfield (number of arrays inside the main array), and one to scroll through each individual player per row (number of obj within the single array row). So far it works properly, I repeat this thing both for the home team and the away team is working properly. The problem is that I would like to apply the drap and drop. What I would like to do is that initially the positions of the players are from