fun <S, R> enableDragAndDrop(init: DragAndDropDslFacade<S, R>.() -> Unit): DragAndDropController<S, R>
Creates DragAndDropManager and configure it
S
- type of sender's associated object
R
- type of receiver's associated object
init
- DragAndDropManager DSL-configuration