Package com.bumptech.glide.load.model

Types

Link copied to clipboard
open class AssetUriLoader<Data> : ModelLoader<Model, Data>
Loads a specific data type from an Asset Manager Uri.
Link copied to clipboard
open class ByteArrayLoader<Data> : ModelLoader<Model, Data>
A base class to convert byte arrays to input streams so they can be decoded.
Link copied to clipboard
open class ByteBufferEncoder : Encoder<T>
Writes ByteBuffers to Files.
Link copied to clipboard
open class ByteBufferFileLoader : ModelLoader<Model, Data>
Loads java.nio.ByteBuffers using NIO for java.io.File.
Link copied to clipboard
class DataUrlLoader<Model, Data> : ModelLoader<Model, Data>
A simple model loader for loading data from a Data URL String.
Link copied to clipboard
open class FileLoader<Data> : ModelLoader<Model, Data>
A simple model loader for loading data from Files.
Link copied to clipboard
open class GlideUrl : Key
A wrapper for strings representing http/https URLs responsible for ensuring URLs are properly escaped and avoiding unnecessary URL instantiations for loaders that require only string urls rather than URL objects.
Link copied to clipboard
interface Headers
An interface for a wrapper for a set of headers to be included in a Glide request.
Link copied to clipboard
interface LazyHeaderFactory
An interface for lazily creating headers that allows expensive to calculate headers (oauth for example) to be generated in the background during the first fetch.
Link copied to clipboard
class LazyHeaders : Headers
A wrapper class for a set of headers to be included in a Glide request, allowing headers to be constructed lazily.
Link copied to clipboard
class MediaStoreFileLoader : ModelLoader<Model, Data>
Loads the file path for MediaStore owned uris.
Link copied to clipboard
interface Model
An optional interface that models can implement to enhance control over Glide behaviors.
Link copied to clipboard
open class ModelCache<A, B>
A simple cache that can be used by ModelLoader and ModelLoaderFactory to cache some data for a given model, width and height.
Link copied to clipboard
interface ModelLoader<Model, Data>
A factory interface for translating an arbitrarily complex data model into a concrete data type that can be used by an DataFetcher to obtain the data for a resource represented by the model.
Link copied to clipboard
interface ModelLoaderFactory<T, Y>
An interface for creating a ModelLoader for a given model type.
Link copied to clipboard
open class ModelLoaderRegistry
Maintains an ordered put of ModelLoaders and the model and data types they handle in order from highest priority to lowest.
Link copied to clipboard
open class MultiModelLoaderFactory
Capable of building an ModelLoader that wraps one or more other ModelLoaders for a given model and data class.
Link copied to clipboard
open class ResourceLoader<Data> : ModelLoader<Model, Data>
A model loader for handling Android resource files.
Link copied to clipboard
open class StreamEncoder : Encoder<T>
Link copied to clipboard
open class StringLoader<Data> : ModelLoader<Model, Data>
A model loader for handling certain string models.
Link copied to clipboard
open class UnitModelLoader<Model> : ModelLoader<Model, Data>
A put of helper classes that performs no loading and instead always returns the given model as the data to decode.
Link copied to clipboard
open class UriLoader<Data> : ModelLoader<Model, Data>
A ModelLoader for android.net.
Link copied to clipboard
open class UrlUriLoader<Data> : ModelLoader<Model, Data>
Handles http/https Uris by delegating to the ModelLoader for GlideUrls.