siv*_*cky 2 android android-glide
我在以下软件包中添加了应用gradle软件包:
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:glide:4.8.0'
Run Code Online (Sandbox Code Playgroud)
但是在运行时出现以下错误:
错误:包com.bumptech.glide.request.animation不存在
有人面对这样吗?
GladeAnimation已由Transition取代,所以现在代替
onResourceReady(GlideDrawable drawable, GlideAnimation<? super GlideDrawable> anim)
Run Code Online (Sandbox Code Playgroud)
你应该使用
onResourceReady(Drawable drawable, Transition<? super Drawable> transition);
Run Code Online (Sandbox Code Playgroud)
您应该从官方站点检查所有不同的迁移更改。
干杯!
| 归档时间: |
|
| 查看次数: |
2805 次 |
| 最近记录: |