Class AppGlideModule
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 GlideModule to be processed correctly.
Classes that extend AppGlideModule can optionally be annotated with Excludes to optionally exclude one or more LibraryGlideModule 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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyOptions(Context context, GlideBuilder builder) booleanReturnstrueif Glide should check the AndroidManifest forGlideModules.Methods inherited from class com.bumptech.glide.module.LibraryGlideModule
registerComponents
-
Constructor Details
-
AppGlideModule
public AppGlideModule()
-
-
Method Details
-
isManifestParsingEnabled
public boolean isManifestParsingEnabled()Returnstrueif Glide should check the AndroidManifest forGlideModules.Implementations should return
falseafter they and their dependencies have migrated to Glide's annotation processor.Returns
trueby default. -
applyOptions
-