CollectionPreviewParameterProvider

open class CollectionPreviewParameterProvider<T : Any?> : PreviewParameterProvider


Summary

Public constructors

Public properties

open Sequence<T>

Sequence of values of type T to be passed as @Preview parameter.

Inherited properties

From androidx.compose.ui.tooling.preview.PreviewParameterProvider
open Int

Returns the number of elements in the values.

Public constructors

CollectionPreviewParameterProvider

<T : Any?> CollectionPreviewParameterProvider(collection: Collection<T>)

Public properties

values

Added in 1.8.0-alpha04
open val valuesSequence<T>

Sequence of values of type T to be passed as @Preview parameter.