It says in the description: It allows to drag and drop components in between arrangements.
By also creating dynamic components, you can for example allow the user to create their own forms.
Another use could be a reservations system which allows to simply drag and drop the reservation from one table/room/spot to another in case that is needed.
Also educational games, puzzles, dynamic quizzes, workers management, etc.
This block isn’t required unless you want to drop a Component onto another Component, doing this the newly dropped Component will take the index of the Component it was dropped on,this allows the user to reorder the Components.
Dropping a Component onto an Arrangement gives the Component the highest index in that Arrangement.
Example: If you drop a Component into a Vertical Arrangement that has 4 Components inside it, the newly dropped Component with be 5th and appear at the Bottom regardless of where in the Arrangement you dropped it.
That would be breaking the standardization in Android’s gestures. “Touch, hold, drag” is the gesture used across the system, I don’t see why you’d want to implement a gesture system the user will have to invest time and brainpower to understand. I mean it’ll affect the UX badly.
If I used Click I’d need to Override the existing Click method and it would create multiple issues.
I don’t think double click is a good idea. There’s no existing method for this and we would need to use a timer and again it would create issues.
Hello. I found an issue in your extension. When you try it to move a vertical arrangement into an other vertical arrangement, it just disappears.
The same thing if you move horizontal arrangement into an other horizontal arrangement.
Vertical into horizontal works, and vice versa.
very useful extension! I have added it to a project but I am facing a difficulty. how can i take the position of the component so that the next time the application is opened it can remember where it is?