Motion Utils
A utility class for motion system functions.
Functions
Link copied to clipboard
Link copied to clipboard
open fun resolveThemeInterpolator(@NonNull context: Context, @AttrRes attrResId: Int, @NonNull defaultInterpolator: TimeInterpolator): TimeInterpolator
Load an interpolator from a material easing theme attribute.
Link copied to clipboard
open fun resolveThemeSpringForce(@NonNull context: Context, @AttrRes attrResId: Int, @StyleRes defStyleRes: Int): SpringForce
Resolve a SpringForce object from a Material spring theme attribute.