mergeSpecificProviders¶
inline fun <P : KotlinComposableProvider, reified T : P> List<P>.mergeSpecificProviders(factory: KotlinCompositeProviderFactory<P>, crossinline mergeTargets: (List<T>) -> P): P
Uses the given factory to merge all providers of type T with the given mergeTargets strategy. Other providers (not of type T) are added to the resulting composite provider unmerged.