@ TargetApi ( Build . VERSION_CODES . JELLY_BEAN ) @ Override int calculateEndLeftBound ( float xAxisDelta ) { return ( int ) ( getView ( ) . getX ( ) + xAxisDelta ) ; }
Calculates the resulting X coordinate of the view s left bound based on the X position of the view and the X - axis delta