EdgeEffectCompat
SESL Variant Helper for accessing EdgeEffect. This class is used to access EdgeEffect on platform versions that support it. When running on older platforms it will result in no-ops. It should be used by views that wish to use the standard Android visual effects at the edges of scrolling containers.
Functions
Link copied to clipboard
Constructs and returns a new EdgeEffect themed using the given context, allowing support for the view attributes.
Link copied to clipboard
Returns the pull distance needed to be released to remove the showing effect.
Link copied to clipboard
Reports if this EdgeEffectCompat's animation is finished.
Link copied to clipboard
Link copied to clipboard
open fun onPullDistance(@NonNull edgeEffect: EdgeEffect, deltaDistance: Float, displacement: Float): Float
A view should call this when content is pulled away from an edge by the user.