asEasing
Wraps an Android Interpolator as an Easing.
Useful for reusing existing Android interpolators (e.g., OvershootInterpolator, BounceInterpolator) with the animation spec API.
val bounceEasing = BounceInterpolator().asEasing()
val overshootEasing = OvershootInterpolator(2f).asEasing()Content copied to clipboard