I am using this library to show gif image: https://github.com/felipecsl/GifImageView
But I don\'t know how to implement my gif image in these code. I have some GifIm
I would suggest looking into the Glide library, since it does animated GIFs without any modifications, and can fit into any project.
It also has the added benefit of smoother loading and proper resizing, if you're using these images in any type of recycled view.
As @fixmycode said, you are never defining bytes[], if you want to use your current implementation.