android-gif-drawable icon indicating copy to clipboard operation
android-gif-drawable copied to clipboard

Why live wallpaper is much slower than normal viewing?

Open AndroidDeveloperLB opened this issue 5 years ago • 1 comments

Suppose I use this gif:

gif.zip

Here's how well it works on live wallpaper, vs on Activity:

videos.zip

How come? I've tested other solutions of showing GIF/WEBP animation, and they also had the same issue.

AndroidDeveloperLB avatar Nov 26 '18 21:11 AndroidDeveloperLB

BTW, I think some of the code of the live wallpaper isn't needed. It seems that "mainJob" isn't needed, and so does "onSurfaceCreated" .

AndroidDeveloperLB avatar Nov 26 '18 21:11 AndroidDeveloperLB