DecodePath

open class DecodePath<DataType, ResourceType, Transcode>

Attempts to decode and transcode resource type from a given data type.

Parameters

<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.

Constructors

Link copied to clipboard
open fun DecodePath(    dataClass: Class<DataType>,     resourceClass: Class<ResourceType>,     transcodeClass: Class<Transcode>,     decoders: List<out ResourceDecoder<DataType, ResourceType>>,     transcoder: ResourceTranscoder<ResourceType, Transcode>,     listPool: Pool<List<Throwable>>)

Functions

Link copied to clipboard
open fun decode(    rewinder: DataRewinder<DataType>,     width: Int,     height: Int,     options: Options,     callback: DecodePath.DecodeCallback<ResourceType>): Resource<Transcode>
Link copied to clipboard
open fun toString(): String