public abstract class AppGlideModule extends LibraryGlideModule
Classes that extend
AppGlideModule must be annotated with
GlideModule to be processed correctly.
Once an application has migrated itself and all libraries it depends on to use Glide's
AppGlideModule implementations should override
isManifestParsingEnabled() and return
|Constructor and Description|
|Modifier and Type||Method and Description|
Lazily apply options to a
public boolean isManifestParsingEnabled()
trueif Glide should check the AndroidManifest for
Implementations should return
false after they and their dependencies have migrated
to Glide's annotation processor.
true by default.
public void applyOptions(@NonNull android.content.Context context, @NonNull GlideBuilder builder)
GlideBuilderimmediately before the Glide singleton is created.
This method will be called once and only once per implementation.
context- An Application
GlideBuilderthat will be used to create Glide.