EdgeEffect.Distance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the pull distance needed to be released to remove the showing effect.
public virtual float Distance { [Android.Runtime.Register("getDistance", "()F", "GetGetDistanceHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getDistance", "()F", "GetGetDistanceHandler", ApiSince=31)>]
member this.Distance : single
Property Value
The pull distance that must be released to remove the showing effect.
- Attributes
Remarks
Returns the pull distance needed to be released to remove the showing effect. It is determined by the #onPull(float, float)
deltaDistance
and any animating values, including from #onAbsorb(int)
and #onRelease()
.
This can be used in conjunction with #onPullDistance(float, float)
to release the currently showing effect.
Java documentation for android.widget.EdgeEffect.getDistance()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.