FileDescriptorFactory

Factory for loading AssetFileDescriptors from asset manager Uris.

Constructors

Link copied to clipboard
open fun FileDescriptorFactory(assetManager: AssetManager)

Functions

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