resolve Theme Interpolator
open fun resolveThemeInterpolator(@NonNull context: Context, @AttrRes attrResId: Int, @NonNull defaultInterpolator: TimeInterpolator): TimeInterpolator
Load an interpolator from a material easing theme attribute.
Return
the resolved TimeInterpolator which attrResId
points to or the
defaultInterpolator
if resolution was unsuccessful.
Parameters
context
context from where the theme attribute will be resolved
attr Res Id
the motionEasing*
theme attribute to resolve
default Interpolator
the interpolator to be returned if unable to resolve
attrResId
.