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