React Native Drag and Drop Listview

0

I need to implement bizarre functionality in React Native. Here's what I need to be able to drag and drop to remove an item from a horizontal ListView and add it to another. The big question 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 to the side is to scroll the view Does anyone know how I can do this or something like this?

    
asked by anonymous 29.07.2017 / 20:26

1 answer

0

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

As soon as a% of child% exceeds the borders of a% parent, it is automatically "hidden", or in other words, part of it is not going to be rendered because it is exceeding the limits of% parent% .

In 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 of 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

    
16.08.2017 / 05:57