How to validate animation(gif exists or not) on mobile app+appium+android

Could anyone help me how to validate animation on the android app

I think we need to get the image name with the extension .gif is ok.

It’s hard to see it’s actually gif or not like human eyes. That’s my idea.

could you please send the code for that
thanks in advance

In addition to validating the file extension you could check the displayed or enabled attributes of the image to try to see if this is visible to the user.

Hi Cauthon
Thanks for your reply
could you please send me the code