DataType
- The type of data ResourceType that will be decoded from.ResourceType
- The type of intermediate resource that will be decoded.Transcode
- The final type of resource that will be transcoded from ResourceType and
returned to the caller.public class DecodePath<DataType,ResourceType,Transcode> extends Object
构造器和说明 |
---|
DecodePath(Class<DataType> dataClass,
Class<ResourceType> resourceClass,
Class<Transcode> transcodeClass,
List<? extends ResourceDecoder<DataType,ResourceType>> decoders,
ResourceTranscoder<ResourceType,Transcode> transcoder,
Pools.Pool<List<Throwable>> listPool) |
public DecodePath(Class<DataType> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<? extends ResourceDecoder<DataType,ResourceType>> decoders, ResourceTranscoder<ResourceType,Transcode> transcoder, Pools.Pool<List<Throwable>> listPool)
public Resource<Transcode> decode(DataRewinder<DataType> rewinder, int width, int height, @NonNull Options options, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> callback) throws GlideException
GlideException