内容简介:Glide 4.8.0 发布了,Glide 是一个 Android 上的图片加载和缓存库,其目的是实现平滑的图片列表滚动效果。 更新内容如下: Features Multiple RequestListeners can be added to a single request (9328999, than...
Glide 4.8.0 发布了,Glide 是一个 Android 上的图片加载和缓存库,其目的是实现平滑的图片列表滚动效果。
更新内容如下:
Features
Multiple
RequestListener
s can be added to a single request (9328999, thanks to Adrian)Added a safer version of Glide's base target methods that force callers to implement
onLoadCleared
and deprecated the unsafe versions. Failing to implement onLoadCleared in
a Target can lead to UIs displaying incorrect images, runtime exceptions, or various other resource re-use errors (3a70607, thanks to azlatin@).
Bugs
HEIF orientation is supported on O MR1 and higher via ExifInterface (a3f8114)
Improved error message for network failures (#2894, ff463d7)
Placeholder/error/fallback drawable and id variants now replace previous calls to the same method with the other variant. For example, placeholder(Drawable) will replace previous calls to .placeholder(R.id.xyz)(2dccb5c)
Improved synchronization in ModelLoaderRegistry (62e6c11, thanks to @jnlopar)
Deprecations
Deprecated
SimpleTarget
andViewTarget
, see theCustomViewTarget
description in Features in these release notes for more detail.
Behavior Changes
Requests that are started with a paused RequestManager, usually in a paused Activity or Fragment, are immediately paused so that they display a placeholder instead of nothing (a55e935)
Breaking Changes
The deprecated
PREFER_ARGB_8888_DISALLOW_HARDWARE
DecodeFormat
has been removed. UseRequestOptions#disallowHardwareConfig()
instead (7eb59f7)Remove
pause()
andisPaused()
from the internalRequest
interface (9089752)Glide now uses resource ids (in
CustomViewTarget
) and therefore can no longer be released as a straight jar.
Build Changes
Added support for androidx annotations (c3328fe, thanks to @colinrtwhite)
Updated to Android Gradle 3.1.3.
下载地址:
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Glide 4.1.0 发布,Android 图片加载和缓存库
- Glide 4.1.1 发布,Android 图片加载和缓存库
- Glide 4.2.0 发布,Android 图片加载和缓存库
- Glide 4.3.0 发布,Android 图片加载和缓存库
- Glide 4.3.1 发布,Android 图片加载和缓存库
- Glide 4.5.0 发布,Android 图片加载和缓存库
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
网络是怎样连接的
[日]户根勤 / 周自恒 / 人民邮电出版社 / 2017-1-1 / CNY 49.00
本书以探索之旅的形式,从在浏览器中输入网址开始,一路追踪了到显示出网页内容为止的整个过程,以图配文,讲解了网络的全貌,并重点介绍了实际的网络设备和软件是如何工作的。目的是帮助读者理解网络的本质意义,理解实际的设备和软件,进而熟练运用网络技术。同时,专设了“网络术语其实很简单”专栏,以对话的形式介绍了一些网络术语的词源,颇为生动有趣。 本书图文并茂,通俗易懂,非常适合计算机、网络爱好者及相关从......一起来看看 《网络是怎样连接的》 这本书的介绍吧!