-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.model.ModelLoaderFactory
public final class StringLoader.AssetFileDescriptorFactory implements ModelLoaderFactory<String, AssetFileDescriptor>
Loads AssetFileDescriptors from Strings.
-
-
Method Summary
Modifier and Type Method Description ModelLoader<String, AssetFileDescriptor>build(@NonNull() 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
ModelLoader<String, AssetFileDescriptor> build(@NonNull() 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.
-
-
-
-