@Override public int clampViewPositionHorizontal(View child,int left,int dx){
  if (mDraggedView == null) {
    return 0;
  }
  final int leftBound=0 - MAX_OVERFLOW - (mColumnSizeSide / 2);
  final int rightBound=getWidth() + MAX_OVERFLOW + (mColumnSizeSide / 2);
  return Math.min(Math.max(left,leftBound),rightBound);
}

@ Override public int clampViewPositionHorizontal ( View child , int left , int dx ) { if ( mDraggedView == null ) { return 0 ; } final int leftBound = 0 - MAX_OVERFLOW - ( mColumnSizeSide / 2 ) ; final int rightBound = getWidth ( ) + MAX_OVERFLOW + ( mColumnSizeSide / 2 ) ; return Math . min ( Math . max ( left , leftBound ) , rightBound ) ; }
override method used to configure the horizontal drag . restrict the motion of the dragged child view along the horizontal axis .
