Domanda

Is it possible to have drag and drop and scrolling at the same time? It seems a bit flakey if you simply enable it. Sometimes it scrolls; sometimes it drag and drops. Would be nice if could manually invoke a drag from long pointer or something?

My code has a Container that is drop-enabled and y-scrollable. It has drag enabled Components within it. Is there something else I can do to make them play nicely together?

È stato utile?

Soluzione

You can but if you touch a draggable component it will drag. You can toggle these modes thru long press or any other flag by flicking the draggable flags dynamically.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top