FileDescriptorFactory

open class FileDescriptorFactory : ModelLoaderFactory<T, Y>

Factory for loading ParcelFileDescriptors from Android resource ids.

Constructors

Link copied to clipboard
open fun FileDescriptorFactory(resources: Resources)

Functions

Link copied to clipboard
open fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<Integer, ParcelFileDescriptor>
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.