PreviewParameterProvider

interface PreviewParameterProvider<T : Any?>


Interface to be implemented by any provider of values that you want to be injected as @Preview parameters. This allows providing sample information for previews.

Summary

Public properties

open Int

Returns the number of elements in the values.

Sequence<T>

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

Public properties

count

Added in 1.0.0
open val countInt

Returns the number of elements in the values.

values

Added in 1.0.0
val valuesSequence<T>

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