简体   繁体   English

为什么 API 29 中缺少 ViewPropertyAnimatorRT?

[英]Why are ViewPropertyAnimatorRT missing in API 29?

I want to use this class to render the animation in the word thread,我想用这个类来渲染word线程中的动画,

But now I can't find this class, who can tell me why this class was deleted?但是现在找不到这个班级了,谁能告诉我为什么这个班级被删了?

question why it was removed should be answered by someone from Android team. Android 团队的某个人应该回答为什么它被删除的问题。 probably they just refactored some internal animation utils due to new possibilities...由于新的可能性,他们可能只是重构了一些内部动画实用程序......

you can always copy-paste this class source and paste into your project (with different name just in case), you probably should find workaround for FallbackLUTInterpolator usage (or just remove related items, supplying different Interpolator in this place, eg. linear)您始终可以复制并粘贴此类源代码并粘贴到您的项目中(以防万一,使用不同的名称),您可能应该找到解决FallbackLUTInterpolator用法的方法(或者只是删除相关项目,在此位置提供不同的Interpolator ,例如线性)

SOURCE 来源

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM