内容简介:Glide 4.2.0 已发布,本次更新主要包括新功能的添加和 Bug 修复,例如增加了替代 Glide 默认编码器的支持,以及在具有相同的缓存键时,添加了一种更高级的方法来控制如何/何时重启请求。 具体如下: 功能 Added ...
Glide 4.2.0 已发布,本次更新主要包括新功能的添加和 Bug 修复,例如增加了替代 Glide 默认编码器的支持,以及在具有相同的缓存键时,添加了一种更高级的方法来控制如何/何时重启请求。
具体如下:
功能
Added support for replacing Glide's default
Encoders(03f5bd4, #2349, thanks to @MistaGreen)Added a more advanced way to control how/when requests are restarted when they have the same cache keys (b667cab, thanks to @Tolriq).
Repackaged Glide's annotation processor dependencies to avoid build errors with the generated API caused by dependency conflicts (a0e388e, #2059, thanks to @TWiStErRob)
Added a bucketing system when registering custom components to make choosing the order in which the components are called easier and more intuitive (da90633, thanks to asuszek@).
Pass
OptionstoResourceTranscodersto allow customizing behavior (134870e, #2417).Added an interface to allow reporting or uncaught exceptions on Glide's thread pools (a1cd3af, thanks to @stephanenicolas)
Bug 修复
Fixed incorrect Bitmap pool sizes on some versions of Android (fe5289d, #2334, thanks to @SUPERCILEX)
Fixed a resource leak when following redirects in Glide's default Http library (7f62597, 73a8054, #2352)
Fixed a racy resource leak where
DataFetcherswere sometimes never closed (d482b8e)Fixed load failures due to a simultaneous put exception in Glide's default disk cache (01f5a3d)
Fixed Http load failures caused by unexpected characters in the user agent of some devices (3cd0685)
Worked around an O specific ClassCastException in the OkHttp support library (a4af922)
Fixed logic in
RequestFutureTargetto better match theFuturedocumentation (f033e9b)Fixed a few rounding issues when downsampling and transforming images to eliminate hardware bitmap errors and wasteful allocations when decoded Bitmaps from
Downsamplerare ~1 pixel off of the size required byTransformations(f5ba374, b1b024e, 4b5ccaa)Fix
get(View)failing to find non-supportFragments(a0c5af1)Fixed assertions when generated
GlideRequestswere used to load a model and then modified after the load was started (d56e08c).Fixed load failures on some devices where UUIDs initialization is broken (d67ce32, #1510)
Improved performance loading video frames slightly be avoiding duplicate
setDataSourcecalls (a84deb3).Handle all types of exceptions thrown by
ResourceDecodersto allow other registeredResourceDecodersto run even if one decoder fails or behaves unexpectedly (6cffaab).Fixed an exception using
HARDWAREBitmaps with images where Glide is unable to determine the original dimensions (f9757a5).Fixed an issue where sometimes the MediaStore thumbnail would be returned when
Target.SIZE_ORIGINALwas used (4501396, thanks to asuszek@).
下载地址以及更新详情请参阅发布说明。
Glide 是一个 Android 上的图片加载和缓存库,其目的是实现平滑的图片列表滚动效果。
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Glide 4.1.0 发布,Android 图片加载和缓存库
- Glide 4.1.1 发布,Android 图片加载和缓存库
- Glide 4.3.0 发布,Android 图片加载和缓存库
- Glide 4.3.1 发布,Android 图片加载和缓存库
- Glide 4.5.0 发布,Android 图片加载和缓存库
- Glide 4.6.0 发布,Android 图片加载和缓存库
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
社群营销实战手册
秋叶、邻三月、秦阳 / 人民邮电出版社 / 2018-1 / 69.00元
互联网正从“物以类聚”,走向“人以群分”的时代。秋叶等人的“社群营销”,并非单纯靠社群卖东西,而是建立一种中心化的、自行运转的生态,让“同好”们形成紧密的联系,创造出海量营销机会。 《社群营销实战手册 从社群运营到社群经济》共5章内容,从社群的定位、建立、扩张、变现、运营,到社群的生命周期延长、社群运营团队的打造和管理以及社群管理工具,大量干货秘笈一应俱全,并提供丰富的运营实战案例,全面解读社群的......一起来看看 《社群营销实战手册》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
Base64 编码/解码
Base64 编码/解码