setDefaultSwipeDirs

open fun setDefaultSwipeDirs(defaultSwipeDirs: Int)(source)

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

Parameters

defaultSwipeDirs

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