setDefaultDragDirs

open fun setDefaultDragDirs(defaultDragDirs: Int)(source)

Updates the default drag directions. For example, you can use this method to toggle certain directions depending on your use case.

Parameters

defaultDragDirs

Binary OR of directions in which the ViewHolders can be dragged.