如何在Android中在API 22中播放GIF?

huangapple go评论53阅读模式
英文:

How to play gif in android in Api 22

问题

我尝试在我的Android项目中使用gif,api 22。

我使用了Glide和gifviewer组件,但在我的项目中没有显示,并且Gradle没有构建。

英文:

I try to use gif in my android project in api 22 .

I used glide and gifviewer component but not shown in my project and gradle not build

答案1

得分: 0

如果您不想使用gradle依赖项,请尝试使用InputStreamMovie类的此指令:点击此处。我已经描述了它,我认为它对播放gif动画很有用。

英文:

If you do not want to use gradle dependencies, try this instruction that used InputStream and Movie class: click here. I described it and I think it is useful to play gif animations.

huangapple
  • 本文由 发表于 2023年2月8日 21:43:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/75386681.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定