Glide
A singleton to present a simple static interface for building requests with and maintaining an Engine, BitmapPool, and MemoryCache.
Types
Link copied to clipboard
Creates a new instance of RequestOptions.
Functions
Link copied to clipboard
Clears disk cache.
Link copied to clipboard
Clears as much memory as possible.
Link copied to clipboard
Allows hardware Bitmaps to be used prior to the first frame in the app being drawn as soon as this method is called.
Link copied to clipboard
Link copied to clipboard
Returns a directory with a default name in the private cache directory of the application to use to store retrieved media and thumbnails.
Returns a directory with the given name in the private cache directory of the application to use to store retrieved media and thumbnails.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun preFillBitmapPool(bitmapAttributeBuilders: Array<PreFillType.Builder>)
Content copied to clipboard
Pre-fills the BitmapPool using the given sizes.
Link copied to clipboard
Adjusts Glide's current and maximum memory usage based on the given MemoryCategory.
Link copied to clipboard
Clears some memory with the exact amount depending on the given level.
Link copied to clipboard
Begin a load with Glide that will be tied to the given android.app.
Begin a load with Glide by passing in a context.
Begin a load with Glide that will be tied to the given androidx.fragment.app.
Begin a load with Glide that will tied to the give 's lifecycle and that uses the given 's default options.
Begin a load with Glide that will be tied to the lifecycle of the Fragment, , or Activity that contains the View.