T - The type of the model the ModelLoaders built by
            this factory can handleY - The type of data the ModelLoaders built by this
            factory can load.public interface ModelLoaderFactory<T,Y>
ModelLoader for a given model type. Will be retained
 statically so should not retain Context or any other objects that cannot be retained for
 the life of the application. ModelLoaders will not be retained statically so it is safe for any
 ModelLoader built by this factory to retain a reference to a Context.| Modifier and Type | Method and Description | 
|---|---|
| ModelLoader<T,Y> | build(MultiModelLoaderFactory multiFactory)Build a concrete ModelLoader for this model type. | 
| void | teardown()A lifecycle method that will be called when this factory is about to replaced. | 
ModelLoader<T,Y> build(MultiModelLoaderFactory multiFactory)
multiFactory - A map of classes to factories that can be used to construct additional
                     ModelLoaders that this factory's ModelLoader may depend onModelLoadervoid teardown()