-
public final class UtilsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitcopyBoundsInWindow(View $self, Rect rect)Function which updates the given rect with this view's position and bounds in its window. final static UnitsuppressLayoutCompat(ViewGroup $self, Boolean suppress)Provides access to the hidden ViewGroup#suppressLayout method. final static SpringAnimationspringAnimationOf(Function1<Float, Unit> setter, Function0<Float> getter, Float finalPosition)final static SpringAnimationwithSpringForceProperties(SpringAnimation $self, Function1<SpringForce, Unit> func)-
-
Method Detail
-
copyBoundsInWindow
final static Unit copyBoundsInWindow(View $self, Rect rect)
Function which updates the given rect with this view's position and bounds in its window.
-
suppressLayoutCompat
final static Unit suppressLayoutCompat(ViewGroup $self, Boolean suppress)
Provides access to the hidden ViewGroup#suppressLayout method.
-
springAnimationOf
final static SpringAnimation springAnimationOf(Function1<Float, Unit> setter, Function0<Float> getter, Float finalPosition)
-
withSpringForceProperties
final static SpringAnimation withSpringForceProperties(SpringAnimation $self, Function1<SpringForce, Unit> func)
-
-
-
-