-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.model.ModelLoaderFactory
public class UnitModelLoader.Factory<Model> implements ModelLoaderFactory<Model, Model>
Factory for producing com.mobwith.imgmodule.load.model.UnitModelLoaders.
-
-
Constructor Summary
Constructors Constructor Description UnitModelLoader.Factory()
-
Method Summary
Modifier and Type Method Description static <T> UnitModelLoader.Factory<T>getInstance()ModelLoader<Model, Model>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
-
getInstance
static <T> UnitModelLoader.Factory<T> getInstance()
-
build
@NonNull() ModelLoader<Model, Model> 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.
-
-
-
-