You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PropertyAnimation文档里似乎更推荐通过自定义Interpolator来控制所选属性的变化率。而TypeEvaluator的描述是:If you want to animate a type that is _unknown_ to the Android system, you can create your own evaluator by implementing the TypeEvaluator interface,似乎更加强调针对自定义类型或属性改变的情况。
自己在项目中几乎都使用Interpolator,这里不太明白,请教一下。
Thank you!:)
The text was updated successfully, but these errors were encountered:
daimajia
changed the title
请教一下,为什么这里使用TypeEvaluator而不是Interpolator?
Why using TypeEvaluator instead of Interpolator in this library?
Feb 15, 2017
PropertyAnimation文档里似乎更推荐通过自定义Interpolator来控制所选属性的变化率。而TypeEvaluator的描述是:If you want to animate a type that is _unknown_ to the Android system, you can create your own evaluator by implementing the TypeEvaluator interface,似乎更加强调针对自定义类型或属性改变的情况。
自己在项目中几乎都使用Interpolator,这里不太明白,请教一下。
Thank you!:)
The text was updated successfully, but these errors were encountered: