draggable
fun <S : Drawable> S.draggable(withX: Boolean = true, withY: Boolean = true, free: Boolean = false, onStart: S.() -> Unit? = null, onDrag: S.() -> Unit? = null, onDrop: S.() -> Unit? = null): S
Make this component draggable.
Parameters
free
if this is true, the component will be able to be dragged outside its parent.