UrlUriLoader

open class UrlUriLoader<Data> : ModelLoader<Model, Data>

Handles http/https Uris by delegating to the ModelLoader for GlideUrls.

Parameters

<Data>

The type of data this Loader will obtain for a Uri.

Constructors

Link copied to clipboard
open fun UrlUriLoader(urlLoader: ModelLoader<GlideUrl, Data>)

Types

Link copied to clipboard
open class StreamFactory : ModelLoaderFactory<T, Y>
Loads InputStreams from Uris with http or https schemes.

Functions

Link copied to clipboard
open fun buildLoadData(    uri: Uri,     width: Int,     height: Int,     options: Options): ModelLoader.LoadData<Data>
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(uri: Uri): Boolean
Returns true if the given model is a of a recognized type that this loader can probably load.

Inheritors

Link copied to clipboard