com.bumptech.glide.load.model.file_descriptor
Class FileDescriptorUriLoader.Factory
java.lang.Object
com.bumptech.glide.load.model.file_descriptor.FileDescriptorUriLoader.Factory
- All Implemented Interfaces:
- ModelLoaderFactory<Uri,ParcelFileDescriptor>
- Enclosing class:
- FileDescriptorUriLoader
public static class FileDescriptorUriLoader.Factory
- extends Object
- implements ModelLoaderFactory<Uri,ParcelFileDescriptor>
The default factory for FileDescriptorUriLoader
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDescriptorUriLoader.Factory
public FileDescriptorUriLoader.Factory()
build
public ModelLoader<Uri,ParcelFileDescriptor> build(Context context,
GenericLoaderFactory factories)
- Description copied from interface:
ModelLoaderFactory
- Build a concrete ModelLoader for this model type.
- Specified by:
build
in interface ModelLoaderFactory<Uri,ParcelFileDescriptor>
- Parameters:
context
- A context that cannot be retained by the factory but can be retained by the ModelLoader
factories
- A map of classes to factories that can be used to construct additional ModelLoader
s that
this factory's ModelLoader
may depend on
- Returns:
- A new
ModelLoader
teardown
public void teardown()
- Description copied from interface:
ModelLoaderFactory
- A lifecycle method that will be called when this factory is about to replaced.
- Specified by:
teardown
in interface ModelLoaderFactory<Uri,ParcelFileDescriptor>