setLockDrag

open fun setLockDrag(lock: Boolean)

Parameters

lock

if set to true, the user cannot drag/swipe the layout.