Interface and Description |
---|
com.bumptech.glide.module.GlideModule
Libraries should use
LibraryGlideModule and Applications should use AppGlideModule . |
Class and Description |
---|
com.bumptech.glide.request.target.BaseTarget
Use
CustomViewTarget if loading the content into a view, the download API if
in the background
(http://bumptech.github.io/glide/doc/getting-started.html#background-threads), or a a fully
implemented Target for any specialized use-cases. Using BaseView is unsafe if the
user does not implement BaseTarget.onLoadCleared(android.graphics.drawable.Drawable) , resulting in recycled bitmaps being
referenced from the UI and hard to root-cause crashes. |
com.bumptech.glide.load.resource.bitmap.BitmapDrawableTransformation
Use
DrawableTransformation instead. |
com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory
use
ExternalPreferredCacheDiskCacheFactory instead. |
com.bumptech.glide.module.ManifestParser |
com.bumptech.glide.integration.okhttp.OkHttpGlideModule
replaced with com.bumptech.glide.integration.okhttp3.OkHttpGlideModule.
|
com.bumptech.glide.integration.okhttp3.OkHttpGlideModule
Replaced by
OkHttpLibraryGlideModule for Applications that use Glide's
annotations. |
com.bumptech.glide.integration.okhttp.OkHttpLibraryGlideModule
Prefer the okhttp3 version instead.
|
com.bumptech.glide.integration.okhttp.OkHttpStreamFetcher
replaced with com.bumptech.glide.integration.okhttp3.OkHttpStreamFetcher.
|
com.bumptech.glide.integration.okhttp.OkHttpUrlLoader
replaced with com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader.
|
com.bumptech.glide.manager.RequestManagerFragment |
com.bumptech.glide.request.target.SimpleTarget
Use
CustomViewTarget if loading the content into a view, the download API if
in the background
(http://bumptech.github.io/glide/doc/getting-started.html#background-threads), or a CustomTarget for any specialized use-cases. Using SimpleTarget or BaseTarget
is unsafe if the user does not implement BaseTarget.onLoadCleared(android.graphics.drawable.Drawable) , resulting in recycled
bitmaps being referenced from the UI and hard to root-cause crashes. |
com.bumptech.glide.load.resource.bitmap.VideoBitmapDecoder
Use
VideoDecoder.parcel(BitmapPool) instead. This class may be removed and
VideoDecoder may become final in a future version of Glide. |
com.bumptech.glide.request.target.ViewTarget
Use
CustomViewTarget . Using this class is unsafe without implementing ViewTarget.onLoadCleared(android.graphics.drawable.Drawable) and results in recycled bitmaps being referenced from the UI and hard to
root-cause crashes. |
com.bumptech.glide.integration.volley.VolleyGlideModule
Replaced with
VolleyLibraryGlideModule . |
Field and Description |
---|
com.bumptech.glide.load.resource.bitmap.Downsampler.DOWNSAMPLE_STRATEGY
Use
DownsampleStrategy.OPTION directly instead. |
com.bumptech.glide.load.model.Headers.NONE
Use
Headers.DEFAULT instead. |