Glide 4.10.0 发布了,Glide 是一个 Android 上的图片加载和缓存库,其目的是实现平滑的图片列表滚动效果。
更新内容如下:
Features
- 在 unit/emulator 测试中添加了 Mocks 库来模拟 GlideExecutor (e021f6b)
- 添加了集成库,用以与 Guava 的 ListenableFuture 类集成 (9fb1036)
- 为圆角添加粒度选项 (f36a9fa, thanks to dlos@)
- 在资源 ID 缓存键中包含日/夜模式 (1b391c4)
- 添加可在 Glide 上手动调用的 API 以清除内存,尤其是应用程序在后台时 (8a094e9, thanks to mikewallstedt@)
- 为宽色域空间添加简单支持 (15a21b1, 7910f68)
- 在 M+ 后台释放更多内存 (525e7ba)
- 支持非由 Acitivities 托管的片段 (71359c7, thanks to Daniel Tomasiewicz)
- 使用 null 应用程序上下文处理上下文 (31b501d, thanks to Daniel Tomasiewicz)
新版本还包含不少 bug 修复和其他变更,详情可查看更新说明。