Package com.bumptech.glide.load.engine
Class LoadPath<Data,ResourceType,Transcode>
java.lang.Object
com.bumptech.glide.load.engine.LoadPath<Data,ResourceType,Transcode>
- Type Parameters:
Data- The type of data that will be fetched.ResourceType- The type of intermediate resource that will be decoded within one of theDecodePaths.Transcode- The type of resource that will be returned as the result if the load and one of the decode paths succeeds.
For a given
DataFetcher for a given data class, attempts to
fetch the data and then run it through one or more DecodePaths.-
Constructor Summary
ConstructorsConstructorDescriptionLoadPath(Class<Data> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<DecodePath<Data, ResourceType, Transcode>> decodePaths, androidx.core.util.Pools.Pool<List<Throwable>> listPool) -
Method Summary
Modifier and TypeMethodDescriptionload(DataRewinder<Data> rewinder, Options options, int width, int height, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> decodeCallback) toString()
-
Constructor Details
-
LoadPath
public LoadPath(Class<Data> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<DecodePath<Data, ResourceType, Transcode>> decodePaths, androidx.core.util.Pools.Pool<List<Throwable>> listPool)
-
-
Method Details
-
load
public Resource<Transcode> load(DataRewinder<Data> rewinder, @NonNull Options options, int width, int height, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> decodeCallback) throws GlideException - Throws:
GlideException
-
getDataClass
-
toString
-