Package com.bumptech.glide.load.model
Class ResourceLoader.UriFactory
java.lang.Object
com.bumptech.glide.load.model.ResourceLoader.UriFactory
- All Implemented Interfaces:
ModelLoaderFactory<Integer,Uri>
- Enclosing class:
- ResourceLoader<Data>
public static class ResourceLoader.UriFactory
extends Object
implements ModelLoaderFactory<Integer,Uri>
Factory for loading resource
Uris from Android resource ids.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(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.
-
Constructor Details
-
UriFactory
-
-
Method Details
-
build
Description copied from interface:ModelLoaderFactoryBuild a concrete ModelLoader for this model type.- Specified by:
buildin interfaceModelLoaderFactory<Integer,Uri> - 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 void teardown()Description copied from interface:ModelLoaderFactoryA lifecycle method that will be called when this factory is about to replaced.- Specified by:
teardownin interfaceModelLoaderFactory<Integer,Uri>
-