StreamFactory

open class StreamFactory : ModelLoaderFactory<T, Y>

Factory for loading InputStreams from Android resource ids.

Constructors

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

Functions

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