UrlLoader

open class UrlLoader : ModelLoader<Model, Data>

A wrapper class that translates java.net.URL objects into objects and then uses the wrapped for com.bumptech.glide.load.model.GlideUrls to load the data.

Constructors

Link copied to clipboard
open fun UrlLoader(glideUrlLoader: ModelLoader<GlideUrl, InputStream>)

Types

Link copied to clipboard
open class StreamFactory : ModelLoaderFactory<T, Y>
Factory for loading InputStreams from URLs.

Functions

Link copied to clipboard
open fun buildLoadData(    model: URL,     width: Int,     height: Int,     options: Options): ModelLoader.LoadData<InputStream>
Returns a com.bumptech.glide.load.model.ModelLoader.LoadData containing a required to decode the resource represented by this model, as well as a set of Keys that identify the data loaded by the com.bumptech.glide.load.data.DataFetcher as well as an optional list of alternate keys from which equivalent data can be loaded.
Link copied to clipboard
open fun handles(model: URL): Boolean
Returns true if the given model is a of a recognized type that this loader can probably load.