Package-level declarations
Functions
Link copied to clipboard
fun <T1 : Any, T2 : Any> compositeProvider(kClass1: KClass<out PreviewParameterProvider<T1>>, kClass2: KClass<out PreviewParameterProvider<T2>>): PreviewParameterProvider<Pair<T1, T2>>
Creates a PreviewParameterProvider based on the classes of two existing providers.
Link copied to clipboard
Call this in onAttachedToWindow() like this: