StreamFactory

open class StreamFactory : ModelLoaderFactory<T, Y> , UriLoader.LocalUriFetcherFactory<Data>

Loads InputStreams from Uris.

Constructors

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

Functions

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

open fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<Uri, InputStream>
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.