setSlingshotDistance

open fun setSlingshotDistance(@Px slingshotDistance: Int)(source)

Sets the distance that the refresh indicator can be pulled beyond its resting position during a swipe gesture. The default is DEFAULT_SLINGSHOT_DISTANCE.

Parameters

slingshotDistance

The distance in pixels that the refresh indicator can be pulled beyond its resting position.