getDistance
Returns the pull distance needed to be released to remove the showing effect. It is determined by the onPulldeltaDistance
and any animating values, including from onAbsorb and onRelease. This can be used in conjunction with onPullDistance to release the currently showing effect. On API level 30 and earlier, this will return 0.
Return
The pull distance that must be released to remove the showing effect or 0 for API level 30 and earlier.