React Native Drag and Drop Listview

Asked

Viewed 215 times

0

I need to implement bizarre functionality in React Native. Here’s the thing, I need to be able to drag and drop to remove an item from one horizontal Listview and add it to another. The big issue is that it can only start drag and drop if the user has dragged it up, because as it is a listview, and it is horizontal, it means that if the user drags it to the side is to scroll the view Does anyone know how I can do that or anything like that?

1 answer

0

You will hardly be able to make it work by the simple fact that the layout structure of Android / iOS does not allow such functionality.

The moment a View daughter crosses the edges of a View father, she is automatically "hidden", or in other words, part of her will not be rendered because she is exceeding the limits of View father.

Dealing with UX (user experience), this would also be a bad choice. You see, teaching or convincing users to use an unknown component is never a good choice. Using standard components from each platform is the best guarantee that your users will understand how to use your application.

I recommend the following readings:

Material Design (Android)

Design - Apple Developer

Browser other questions tagged

You are not signed in. Login or sign up in order to post.