ComponentRegistryBuilder

Functions

Link copied to clipboard
fun add(decoderFactory: Decoder.Factory)
fun add(fetcherFactory: Fetcher.Factory)
fun add(keyer: Keyer)
fun add(mapper: Mapper<out Any>)
Link copied to clipboard
actual fun ComponentRegistryBuilder.setupDefaultComponents(httpClient: () -> HttpClient)
fun ComponentRegistryBuilder.setupDefaultComponents(density: Density = Density(2f), httpClient: () -> HttpClient = httpEngineFactory, maxParallelism: Int = DEFAULT_MAX_PARALLELISM)
Link copied to clipboard
fun ComponentRegistryBuilder.setupKtorComponents(httpClient: () -> HttpClient = httpEngineFactory)
Link copied to clipboard
fun ComponentRegistryBuilder.setupSkiaComponents(density: Density = Density(2f), maxParallelism: Int = DEFAULT_MAX_PARALLELISM)
Link copied to clipboard
fun takeFrom(componentRegistry: ComponentRegistry, clearComponents: Boolean = false)