@ SuppressWarnings ( "unused" ) public SwipeActionAdapter setNormalSwipeFraction ( float normalSwipeFraction ) { if ( normalSwipeFraction < 0 || normalSwipeFraction > 1 ) { throw new IllegalArgumentException ( "Must be a float between 0 and 1" ) ; } this . mNormalSwipeFraction = normalSwipeFraction ; if ( mListView != null ) mTouchListener . setNormalSwipeFraction ( normalSwipeFraction ) ; return this ; }
Set the fraction of the View Width that needs to be swiped before it is counted as a normal swipe