AssetUriLoader
Loads a specific data type from an Asset Manager Uri.
Parameters
<Data>
The type of data this loader will obtain.
Constructors
Link copied to clipboard
open fun AssetUriLoader(assetManager: AssetManager, factory: AssetUriLoader.AssetFetcherFactory<Data>)
Content copied to clipboard
Types
Link copied to clipboard
A factory to build a DataFetcher for a specific asset path.
Link copied to clipboard
open class FileDescriptorFactory : ModelLoaderFactory<T, Y> , AssetUriLoader.AssetFetcherFactory<Data>
Content copied to clipboard
Factory for loading AssetFileDescriptors from asset manager Uris.
Link copied to clipboard
open class StreamFactory : ModelLoaderFactory<T, Y> , AssetUriLoader.AssetFetcherFactory<Data>
Content copied to clipboard
Factory for loading InputStreams from asset manager 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.