亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

java - Android圖片加載庫的選擇問題?
怪我咯
怪我咯 2017-04-18 10:49:30
0
6
936

Android發(fā)展到現(xiàn)在,已經(jīng)出現(xiàn)了很多的圖片加載庫,例如:imageLoder、UIL、Glide、Picasso、fresco、xUtils3、xUitls2等,請問廣大Andorid,jva使用者在使用它們時發(fā)現(xiàn)它們的利弊都有哪些?對特殊的圖片格式的支持如webP,svg,gif等支持會更優(yōu)?

怪我咯
怪我咯

走同樣的路,發(fā)現(xiàn)不同的人生

reply all(6)
劉奇

The pros and cons depend on the requirements. Each framework has its own characteristics, advantages and disadvantages. Different usage scenarios will bring different pros and cons. It is not easy to generalize. The frameworks you mentioned are all excellent image processing frameworks. In terms of overall performance, Glide > Fresco > Picasso > UIL > xUtils, imageLoader? I don’t know which one you are talking about, it’s roughly the same.

黃舟

I have used Fresco, Picasso, and Glide in my projects.
Since I needed to support Gif later, I excluded Picasso.
Passed the test: When loading the same number of Gifs, Fresco uses one-third of the CPU of Glide. So I chose Fresco. But what the questioner uses depends on the needs.

小葫蘆

fresco’s scalability and completeness of functional support should be the strongest, followed by UIL, which has many parameter configurations

If the requirements are not so many, other libraries except Fresco can generally be solved with one or two lines of code (using the default configuration)

Each library has its own advantages

picasso is characterized by easy and smooth loading, while glide is better optimized and supports gif

fresco and UIL are powerful and meet various needs, but UIL has stopped updating, so some bugs need to be solved by yourself

xUtils is not a dedicated image library, so it is suitable for simple needs, and performance and other aspects are not as good as dedicated libraries

洪濤

Use Fresco to pass by

Ty80

I have used all those libraries, and then I used Fresco, and I have been using Fresco ever since. The configuration is complex, but the function is powerful and the performance is superior.

迷茫

http://blog.csdn.net/github_3... Here is a detailed introduction and detailed comparison

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template