AssetFileDescriptorFactory

Loads AssetFileDescriptors from Uris.

Constructors

Link copied to clipboard
open fun AssetFileDescriptorFactory(contentResolver: ContentResolver)

Functions

Link copied to clipboard
open fun build(uri: Uri): DataFetcher<AssetFileDescriptor>

open fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<Uri, AssetFileDescriptor>
Build a concrete ModelLoader for this model type.
Link copied to clipboard
open fun teardown()
A lifecycle method that will be called when this factory is about to replaced.