StreamFactory

open class StreamFactory : ModelLoaderFactory<T, Y> , AssetUriLoader.AssetFetcherFactory<Data>

Factory for loading InputStreams from asset manager Uris.

Constructors

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

Functions

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