Package com.bumptech.glide.load.model
Class StringLoader.FileDescriptorFactory
- java.lang.Object
-
- com.bumptech.glide.load.model.StringLoader.FileDescriptorFactory
-
- All Implemented Interfaces:
ModelLoaderFactory<java.lang.String,android.os.ParcelFileDescriptor>
- Enclosing class:
- StringLoader<Data>
public static class StringLoader.FileDescriptorFactory extends java.lang.Object implements ModelLoaderFactory<java.lang.String,android.os.ParcelFileDescriptor>
Factory for loadingParcelFileDescriptors from Strings.
-
-
Constructor Summary
Constructors Constructor Description FileDescriptorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelLoader<java.lang.String,android.os.ParcelFileDescriptor>build(MultiModelLoaderFactory multiFactory)Build a concrete ModelLoader for this model type.voidteardown()A lifecycle method that will be called when this factory is about to replaced.
-
-
-
Method Detail
-
build
@NonNull public ModelLoader<java.lang.String,android.os.ParcelFileDescriptor> build(@NonNull MultiModelLoaderFactory multiFactory)
Description copied from interface:ModelLoaderFactoryBuild a concrete ModelLoader for this model type.- Specified by:
buildin interfaceModelLoaderFactory<java.lang.String,android.os.ParcelFileDescriptor>- Parameters:
multiFactory- A map of classes to factories that can be used to construct additionalModelLoaders that this factory'sModelLoadermay depend on- Returns:
- A new
ModelLoader
-
teardown
public void teardown()
Description copied from interface:ModelLoaderFactoryA lifecycle method that will be called when this factory is about to replaced.- Specified by:
teardownin interfaceModelLoaderFactory<java.lang.String,android.os.ParcelFileDescriptor>
-
-