Class LibraryGlideModule

  • Direct Known Subclasses:
    AppGlideModule

    public abstract class LibraryGlideModule
    extends java.lang.Object
    Registers a set of components to use when initializing Glide within an app when Glide's annotation processor is used.

    Any number of LibraryGlideModules can be contained within any library or application.

    LibraryGlideModules are called in no defined order. If LibraryGlideModules within an application conflict, AppGlideModules can use the Excludes annotation to selectively remove one or more of the conflicting modules.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerComponents​(android.content.Context context, Glide glide, Registry registry)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LibraryGlideModule

        public LibraryGlideModule()
    • Method Detail

      • registerComponents

        public void registerComponents​(@NonNull
                                       android.content.Context context,
                                       @NonNull
                                       Glide glide,
                                       @NonNull
                                       Registry registry)