StateProvider

Deprecated

FlowMVI will no longer provide preview functionality as it is platform-dependent and out of scope of the library. Please copy and paste the code of the provider to your repository if you need it.

Replace with

import androidx.compose.ui.tooling.preview.datasource.CollectionPreviewParameterProvider
CollectionPreviewParameterProvider<T>(states.asList())

Preview provider that takes a vararg argument for convenience

Constructors

Link copied to clipboard
constructor(vararg states: T)

Properties

Link copied to clipboard
open val count: Int
Link copied to clipboard
open override val values: Sequence<T>