Class QMediaStoreUriLoader.InputStreamFactory
java.lang.Object
com.bumptech.glide.load.model.stream.QMediaStoreUriLoader.InputStreamFactory
- All Implemented Interfaces:
ModelLoaderFactory<Uri,InputStream>
- Enclosing class:
- QMediaStoreUriLoader<DataT>
Factory for
InputStream.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ModelLoader<Uri,InputStream> build(MultiModelLoaderFactory multiFactory) Build a concrete ModelLoader for this model type.final voidteardown()A lifecycle method that will be called when this factory is about to replaced.
-
Constructor Details
-
InputStreamFactory
-
-
Method Details
-
build
@NonNull public final ModelLoader<Uri,InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) Description copied from interface:ModelLoaderFactoryBuild a concrete ModelLoader for this model type.- Specified by:
buildin interfaceModelLoaderFactory<Uri,DataT> - 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 final void teardown()Description copied from interface:ModelLoaderFactoryA lifecycle method that will be called when this factory is about to replaced.- Specified by:
teardownin interfaceModelLoaderFactory<Uri,DataT>
-