Class 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 the DecodePaths.
    Transcode - The type of resource that will be returned as the result if the load and one of the decode paths succeeds.

    public class LoadPath<Data,​ResourceType,​Transcode>
    extends java.lang.Object
    For a given DataFetcher for a given data class, attempts to fetch the data and then run it through one or more DecodePaths.
    • Constructor Detail

      • LoadPath

        public LoadPath​(java.lang.Class<Data> dataClass,
                        java.lang.Class<ResourceType> resourceClass,
                        java.lang.Class<Transcode> transcodeClass,
                        java.util.List<DecodePath<Data,​ResourceType,​Transcode>> decodePaths,
                        androidx.core.util.Pools.Pool<java.util.List<java.lang.Throwable>> listPool)