AppGlideModule
Defines a set of dependencies and options to use when initializing Glide within an application.
There can be at most one AppGlideModule in an application. Only Applications can include a AppGlideModule. Libraries must use LibraryGlideModule.
Classes that extend AppGlideModule must be annotated with to be processed correctly.
Classes that extend AppGlideModule can optionally be annotated with to optionally exclude one or more and/or GlideModule classes.
Once an application has migrated itself and all libraries it depends on to use Glide's annotation processor, AppGlideModule implementations should override isManifestParsingEnabled and return false
.
Functions
Link copied to clipboard
Lazily apply options to a com.bumptech.glide.GlideBuilder immediately before the Glide singleton is created.
Link copied to clipboard
Returns
true
if Glide should check the AndroidManifest for GlideModules.Link copied to clipboard
open fun registerComponents( context: Context, glide: Glide, registry: Registry)
Content copied to clipboard
Lazily register components immediately after the Glide singleton is created but before any requests can be started.