Google is committed to advancing racial equity for Black communities. See how.

PreviewParameterProvider

interface PreviewParameterProvider<T>
androidx.ui.tooling.preview.PreviewParameterProvider

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

Properties
open Int

Returns the number of elements in the values.

abstract Sequence<T>

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

Properties

count

open val count: Int

Returns the number of elements in the values.

values

abstract val values: Sequence<T>

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