Deprecated API


Contents
Deprecated Methods
com.bumptech.glide.BitmapRequestBuilder.animate(Animation)
           
com.bumptech.glide.DrawableRequestBuilder.animate(Animation)
           
com.bumptech.glide.GenericRequestBuilder.animate(Animation)
          If this builder is used for multiple loads, using this method will result in multiple view's being asked to start an animation using a single Animation object which results in views animating repeatedly. Use GenericRequestBuilder.animate(int) or GenericRequestBuilder.animate(com.bumptech.glide.request.animation.ViewPropertyAnimation.Animator). Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.GifRequestBuilder.animate(Animation)
           
com.bumptech.glide.load.model.GenericLoaderFactory.buildModelLoader(Class, Class, Context)
          Use GenericLoaderFactory.buildModelLoader(Class, Class) instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.DrawableRequestBuilder.crossFade(Animation, int)
           
com.bumptech.glide.GifRequestBuilder.crossFade(Animation, int)
           
com.bumptech.glide.RequestManager.fromUrl()
          The URL class has a number of performance problems and should generally be avoided when possible. Prefer RequestManager.load(android.net.Uri) or RequestManager.load(String). 
com.bumptech.glide.ListPreloader.getDimensions(T)
          Use ListPreloader.PreloadSizeProvider instead. This method will be removed in Glide 4.0. 
com.bumptech.glide.ListPreloader.getItems(int, int)
          Use ListPreloader.PreloadModelProvider instead. This method will be removed in Glide 4.0. 
com.bumptech.glide.load.resource.bitmap.TransformationUtils.getOrientation(String)
          No longer used by Glide, scheduled to be removed in Glide 4.0 
com.bumptech.glide.ListPreloader.getRequestBuilder(T)
          Use ListPreloader.PreloadModelProvider instead. This method will be removed in Glide 4.0. 
com.bumptech.glide.util.Util.getSize(Bitmap)
          Use Util.getBitmapByteSize(android.graphics.Bitmap) instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.Glide.isSetup()
          Use GlideModule instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.RequestManager.load(byte[], String)
          Use RequestManager.load(byte[]) along with GenericRequestBuilder.signature(com.bumptech.glide.load.Key) instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.RequestManager.load(URL)
          The URL class has a number of performance problems and should generally be avoided when possible. Prefer RequestManager.load(android.net.Uri) or RequestManager.load(String). 
com.bumptech.glide.RequestManager.loadFromMediaStore(Uri, String, long, int)
          Use RequestManager.loadFromMediaStore(android.net.Uri), MediaStoreSignature, and DrawableRequestBuilder.signature(com.bumptech.glide.load.Key) instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.load.resource.bitmap.TransformationUtils.orientImage(String, Bitmap)
          No longer used by Glide, scheduled to be removed in Glide 4.0 
com.bumptech.glide.GlideBuilder.setDiskCache(DiskCache)
          Creating a disk cache directory on the main thread causes strict mode violations, use GlideBuilder.setDiskCache(com.bumptech.glide.load.engine.cache.DiskCache.Factory) instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.Glide.setup(GlideBuilder)
          Use GlideModule instead. Scheduled to be removed in Glide 4.0. 
com.bumptech.glide.Glide.unregister(Class, Class)
          Use Glide.register(Class, Class, com.bumptech.glide.load.model.ModelLoaderFactory) to replace a registered loader rather than simply removing it. 
 

Deprecated Constructors
com.bumptech.glide.ListPreloader(int)
          Use ListPreloader.ListPreloader(com.bumptech.glide.ListPreloader.PreloadModelProvider, com.bumptech.glide.ListPreloader.PreloadSizeProvider, int) instead. This constructor will be removed in Glide 4.0. 
com.bumptech.glide.load.model.stream.StreamByteArrayLoader(String)
          Use GenericRequestBuilder.signature(com.bumptech.glide.load.Key) and the empty constructor instead. Scheduled to be removed in Glide 4.0. 
 

Deprecated Enum Constants
com.bumptech.glide.load.DecodeFormat.ALWAYS_ARGB_8888
          Use the equivalent but less misleadingly named DecodeFormat.PREFER_ARGB_8888. Scheduled to be removed in Glide 4.0