abstract class BaseConfig<S, R>
var onDragEntered: (View) -> Unit
Calls when drag object covers receiver's area. Receiver View will be passed as param |
|
var onDragExited: (View) -> Unit
Calls when drag object stop covers receiver's area. Receiver View will be passed as param |
|
var onDropped: (sender: S, receiver: R) -> Unit
Calls when dropping is performed. Sender and Receiver objects of type DragAndDropObject will be passed as params |
fun onDragEntered(action: (View) -> Unit): Unit
DSL-like method for variable onDragEntered |
|
fun onDragExited(action: (View) -> Unit): Unit
DSL-like method for variable onDragExited |
|
fun onDropped(action: (sender: S, receiver: R) -> Unit): Unit
DSL-like method for variable onDropped |
class DragAndDropDefaultConfig<S, R> : BaseConfig<S, R>
Default configuration class |
|
class DragAndDropLocalConfig<S, R> : BaseConfig<S, R>
Additional configuration which can override default behavior of DragAndDropDefaultConfig |