StringLoader
A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by openInputStream.
Parameters
<Data>
The type of data that will be loaded from the given java.lang.String.
Constructors
Types
Link copied to clipboard
Loads AssetFileDescriptors from Strings.
Link copied to clipboard
Factory for loading ParcelFileDescriptors from Strings.
Link copied to clipboard
Factory for loading InputStreams from Strings.
Functions
Link copied to clipboard
open fun buildLoadData( model: String, width: Int, height: Int, options: Options): ModelLoader.LoadData<Data>
Content copied to clipboard
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.