ComponentRegistry
class ComponentRegistry
Registry for all the components that an ImageLoader uses to fulfil image requests.
Use this class to register support for custom Interceptors, Mappers, Keyers, Fetchers, and Decoders.
Functions
Link copied to clipboard
Link copied to clipboard
fun newDecoder(result: SourceFetchResult, options: Options, imageLoader: ImageLoader, startIndex: Int = 0): Pair<Decoder, Int>?
Create a new Decoder using the registered decoderFactories.
Link copied to clipboard
fun newFetcher(data: Any, options: Options, imageLoader: ImageLoader, startIndex: Int = 0): Pair<Fetcher, Int>?
Create a new Fetcher using the registered fetcherFactories.