Showing Gif Image with Library

前端 未结 4 987
傲寒
傲寒 2020-12-07 02:17

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

4条回答
  •  攒了一身酷
    2020-12-07 03:04

    1.I would suggest you to checkout Image Management Library by Facebook that is Fresco that is pretty awesome and mature as compared to other Image Loading Library.

    2.Fresco has SimpleDraweeView as custom image view which supports Rounded Corners and Circles link and supports Animated(.gif, .webp) as well as Normal Images(.jpg, .png).

    3.Fresco handles all the things caching of images with 3 Tier architecture ( BITMAP_MEMORY_CACHE, ENCODED_MEMORY_CACHE and DISK_CACHE). It also reduces OOM(Out Of Memory) issues. When image in a view goes out of screen it automatically recycles the bitmap, hence releasing the memory.

提交回复
热议问题