getSwipeThreshold
Returns the fraction that the user should move the View to be considered as swiped. The fraction is calculated with respect to RecyclerView's bounds.
Default value is .5f, which means, to swipe a View, user must move the View at least half of RecyclerView's width or height, depending on the swipe direction.
Return
A float value that denotes the fraction of the View size. Default value is .5f .
Parameters
viewHolder
The ViewHolder that is being dragged.