UriLoader
A ModelLoader for android.net.Uris that handles local android.net.Uris directly and routes remote android.net.Uris to a wrapped that handles s.
Parameters
<Data>
The type of data that will be retrieved for android.net.Uris.
Constructors
Types
Link copied to clipboard
class AssetFileDescriptorFactory : ModelLoaderFactory<T, Y> , UriLoader.LocalUriFetcherFactory<Data>
Content copied to clipboard
Loads AssetFileDescriptors from Uris.
Link copied to clipboard
open class FileDescriptorFactory : ModelLoaderFactory<T, Y> , UriLoader.LocalUriFetcherFactory<Data>
Content copied to clipboard
Loads ParcelFileDescriptors from Uris.
Link copied to clipboard
Factory for obtaining a DataFetcher for a data type for a particular Uri.
Link copied to clipboard
open class StreamFactory : ModelLoaderFactory<T, Y> , UriLoader.LocalUriFetcherFactory<Data>
Content copied to clipboard
Loads InputStreams from Uris.
Functions
Link copied to clipboard
open fun buildLoadData( model: Uri, 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.