com.bumptech.glide.load.model.stream
Class StreamResourceLoader.Factory
java.lang.Object
  
com.bumptech.glide.load.model.stream.StreamResourceLoader.Factory
- All Implemented Interfaces: 
 - ModelLoaderFactory<Integer,InputStream>
 
- Enclosing class:
 - StreamResourceLoader
 
public static class StreamResourceLoader.Factory
- extends Object
- implements ModelLoaderFactory<Integer,InputStream>
  
The default factory for StreamResourceLoaders.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StreamResourceLoader.Factory
public StreamResourceLoader.Factory()
build
public ModelLoader<Integer,InputStream> build(Context context,
                                              GenericLoaderFactory factories)
- Description copied from interface: 
ModelLoaderFactory 
- Build a concrete ModelLoader for this model type.
- Specified by:
 build in interface ModelLoaderFactory<Integer,InputStream>
 
- Parameters:
 context - A context that cannot be retained by the factory but can be retained by the ModelLoaderfactories - A map of classes to factories that can be used to construct additional ModelLoaders 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<Integer,InputStream>