BaseGlideUrlLoader

abstract class BaseGlideUrlLoader<Model> : ModelLoader<Model, Data>

A base class for loading data over http/https. Can be subclassed for use with any model that can be translated in to java.io.InputStream data.

Parameters

<Model>

The type of the model.

Functions

Link copied to clipboard
open fun buildLoadData(    model: Model,     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
abstract fun handles(model: Model): Boolean
Returns true if the given model is a of a recognized type that this loader can probably load.