1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Glide 4.5.0 发布,Android 图片加载和缓存库 下载

Discussion in '软件资讯' started by 漂亮的石头, 2018-01-06.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    488,109
    Likes Received:
    47
    Glide 4.5.0 已发布,Glide 是一个 Android 上的图片加载和缓存库,其目的是实现平滑的图片列表滚动效果。

    该版本引入了以下新特性:


    • Add an API to pause all requests for a given Activity or Fragment to allow callers to manually reduce memory when their Fragment or Application is backgrounded


    • Fully support Bitmap re-use for RGBA_F16 Bitmaps. Previously Glide supported decoding RGBA_F16Bitmaps, but would not re-use any stored in the BitmapPool when doing so


    • Support decoding Videos from resources as AssetFileDescriptors


    • Added support for the MediaMetadataRetriever#getScaledFrameAtTime method added in OMR1 to marginally reduce memory usage when decoding video frames


    • Support transcoding BitmapDrawables to byte[]s

    Breaking Changes:


    • Removed deprecated constructors requiring Contexts in most of Glide's default Transformation


    • The @NonNull and @Nullable annotations added in this release may break builds that depend on compiler plugins that do static nullability analysis, typically due a lack of annotations on any implemenations you might have of Glide's interfaces.

    此外,还包含大量修复和其他改进,详情和下载地址可查阅发行列表
    Glide 4.5.0 发布,Android 图片加载和缓存库下载地址
     
Loading...