-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.model.ModelLoaderFactory
public class UrlUriLoader.StreamFactory implements ModelLoaderFactory<Uri, InputStream>
Loads InputStreams from Uris with http orhttps schemes.
-
-
Method Summary
Modifier and Type Method Description ModelLoader<Uri, InputStream>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() ModelLoader<Uri, InputStream> build(MultiModelLoaderFactory multiFactory)
Build a concrete ModelLoader for this model type.
- Parameters:
multiFactory- A map of classes to factories that can be used to construct additionalModelLoaders that this factory's ModelLoader may depend on
-
teardown
void teardown()
A lifecycle method that will be called when this factory is about to replaced.
-
-
-
-