DraggableView 0.2.0
Add kotlin extensions function to apply draggable behaviour to any View
Usage:
View.makeDraggable(stickyAxis: Constants.STICKY, animated: Boolean)
stickyAxis is set to NONE and animated is set to true by default if no parameters are passed
To costumize it, you can use the following:
stickyAxis :
Constants.STICKY.NONE
Constants.STICKY.AXIS_X
Constants.STICKY.AXIS_Y
Constants.STICKY.AXIS_XY
animated : true
or false